I have an EA comment I would like just posted on the chart, the first time it's true. Currently it repeats.
Anyhow the code is similar to this...
Inserted Code if ((BuySignalA) ((Ask-Bid) lt;= AvgSpreadHigh)) Comment(TimeToStr(TimeCurrent(),TIME_SECONDS), BUY SIGNAL-A gt;gt; BUY POSITION SHOULD BE OPENED OR PREVIOUSLY OPENED ); // Print(TimeToStr(TimeCurrent(),TIME_SECONDS), BUY SIGNAL-A gt;gt; BUY POSITION SHOULD BE OPENED OR PREVIOUSLY OPENED );
I had it printing too at first, but while the BuySignal is active it prints every tick!! Too much
I'd like it to comment on the original first BuySignal and dismiss others until a NEW BuySig is generated or a SellSig is generated.
How can I get it not to replie an energetic sign and just post on the initial activation of this sign? The way it's at the moment, it is hard to tell by the comments once the sign was active since it keeps repeating while busy. Do the EA comments become saved in a file somewhere? Because if so, it will gradually occupy quite a little memory I think.