Quote:
Originally Posted by mushy999
Give this a go. I've made lots of modifications. :-)
Leave all the default settings and apply to EUR/USD 5M.
Regards :-)
|
from where comes that the orders must be closed after 310000 ticks ??? (counter2 is incremented at each tick).
Also, this is not a real breakout, as you compare the Ask price with High100 (the highest high of the 100 last bars) + 1 point, but High100 is a Bid price ! You should use if(Bid > High100 + Point ...) even if you buy at Ask price.
Also, why to open 20 orders at the same time ?