
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Is this ... what you want?
Here is an example! Try it and let use know!
And please don't use NormaliseDouble on quote prices provided by the terminal. They are already normalised.
NB! Please note, that trades are only placed if the opening bid is above or below the previous candle. If during the lifetime of the current candle the bid price moves above or below the previous candle, no trades are placed. Only at the open of the candle. That is the logic you have presented and that is the logic of the code above.
If something like what i've attached happens with iTime function everything will be fine with my code...but ridiculously it just doesn't let anything happens..
Your logic will not be one trade per candle. It will be one trade as long as none are open.
You are not analysing the problem correctly. Have a look at my code again and consider the logic of it compared to your logic with no "iTime".
And again, please don't use NormaliseDouble on quote prices provided by the terminal. They are already normalised.
Your logic will not be one trade per candle. It will be one trade as long as none are open.
You are not analysing the problem correctly. Have a look at my code again and consider the logic of it compared to your logic with no "iTime".
And again, please don't use NormaliseDouble on quote prices provided by the terminal. They are already normalised.
Wow Man actually your last code is working now....gotta analyze your code to see what i was doing wrong...
i really appreciate it man.