Hi,
Since there's an EA already running on my chart(s), I want to have my script available three (or less or more, does not matter however 1 n, ngt;=0 trades if it is implemented) trades, the first when it is implemented on the chart along with the remainder one per new pub.
Currently, this is the way the logic resembles, however this only opens the initial trade, remain on the chart but does not open the upcoming few trades.
It is probably something dumb, but I am tired and have appeared at code the majority of my waking hours till now and I am missing it.
Or, I can lose out on the logic completely.
Either way, any help will be greatly appreciated.
Inserted Code int ExtraTrades = 3; datetime stopper=Time#91;0#93;; int counter = 1; //p------------------------------------------------------------------ //| Is new bar | //p------------------------------------------------------------------ bool IsNewBar() if (stopper == Time#91;1#93;-RRB- stopper = Time#91;0#93;; return true; else return false; // ------------------------------------------------------------------ void start() while (counter lt;= ExtraTrades) if (counter == 1) OpenIt(); counter ; if (IsNewBar()) OpenIt(); counter ; counter = 1;