This indior do , as forward evaluation, it publish arrows, not just 1 buy or sell arrow, information, if you using this indior maybe require heiken ashi indior to confirm the trend.
This indior do , as forward evaluation, it publish arrows, not just 1 buy or sell arrow, information, if you using this indior maybe require heiken ashi indior to confirm the trend.
The problem with this indior is that it recalculates every tick: it must only calculate at the close of the pub.
Does anybody know how to do this?
Inserted Code datetime lastbartime; if (Time#91;0#93;! = lastbartime) lastbartime = Time#91;0#93;; //do stuff
Thanks - but it did not help. It's still drawing down or up arrows on the current pub, rather than waiting until the pub is shut.
Remember the
Inserted Code datetime lastbartime;
must be declared at the onset of the indior, and NOT inside the start() work!
Inserted Code ///////// ///blah blah ///copyright blah blah industries 1875 ////// datetime lastbartime; init() //blah deinit() //more blah start() if (lastbartime ! = Time#91;0#93;-RRB- lasbartime = Time#91;0#93;; //INSERT THE REST OF YOUR NORMAL CODE HERE
It makes no difference.... Still paints arrows until the pub is shut. Can you try your code with this indior?
I'm not in the mood to play around with someone elses code for what should be a easy implementation. I hate other individuals scripting because it's usually ugly and wrong. The solution is straightforward and I have given it to you.
If something has been done on the current pub then that tells me you don't understand something. Either you have not implemented the very simple code showed you correctly or the rest of your code is bugged.
I would take a guess that in the script somewhere you're basing all calculations concerning the current bar and so you're either adding an arrow thing or placing a buffer value in the pub positioned at Time[0]. If incorporating an item then there'll, undoubtedly, be a Time[0] in the createobject parameters which clearly has to be set to Time[1]. If placing a buffer then clearly the buffername[0] will probably have to be changed to buffername[1].
Again, and of course, whatever calculations have been done to set or not set an arrow should be based from the preceding bar instead of the current bar which seems to be your entire problem with this script.
sir is this still repainting let meknow
You probably got this by Karl Dittman's internet page. I have discovered his web page the first time I began researching about forex. In the start all his free indiors appeared profitable, fortunately I was working on a demo account. They are not that good. He provides you with all these free indiors to convince you eventually to buy his super excellent indior with precision.
I believe internet page is a scam, but that is only my view, I'm still a junior member on this forum and new trader to the market, began 6 month past.
The only way you are ever going to become profitable is if you create your own system and understand that the market, not rely on someones indior that tells you what to do with out excuse.