I am still a beginner at Easylanguage, using Multicharts Powerlanguage to be exact, but finally starting to learn a bit.
I have a simple question for a simple indicator.
My indicator wil mark the outbreak from the highest high from X candles ( lets say 320 :)) with high Volume on outbreak and it goes like this:
If C > Highest ( high, 320) and Volume > Average ( Volume, 25) then begin
Plot1( Low, "Outbreak" ) ;
Alert( "Outbreak" ) ;
end;
So far so good you would say, exept that every candle after the outbreak that meets the set of code also gives an indication.
I have tried solving this, my idea is to ad the following: IF the previous candle has no alert, then alert, else if the previous candle has an alert then no alert , something like that. However, to code this seems out of my reach.
Could anyone help me with this solution, a solution that will also come in handy with lots of other ideas I think.
Thanks to you all :)
Greetings from a small and cold island in the Nortsea :) :)