i'm triing to build a strategy were i need to refer some swings highs and lows afer and before crose a level
I want to make a list of swings higs and lows and then refer to them,
for example choose the last swing before the 4724 level and the second low after this level and draw a fibonachi.
till now i did it using the funtion
if (CrossBelow(Close, K1, 1))
{
startbar = CurrentBar;
}
an then
FirstHigh = Swing1.SwingHigh[(CurrentBar - startbar + 2)];
its working well un 5 min chart but some times give me an error in ticks chart
Error on calling 'OnBarUpdate' method on bar 959:
so i thougt it can be easier to do doing referrences from a list of swings
thanks for your help and your time

Comment