[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Marketposition on radar screen



PureBytes Links

Trading Reference Links

I am trying,withouth success, to  plot a green flag  on radarscreen when
marketposition=1 on a channel break.

inputs:Len(10),TrueColor(Green), FalseColor(Red);
 Vars:HH(999999),LL(0),mp(0);
 Variables: Filter("");
 HH=Highest(H,Len);
 LL=Lowest(L,Len);
 If H CROSSES ABOVE HH[1] then Mp=1;
 If L crosses below LL[1] then Mp=-1;
 If Mp=1 Then Begin
 { Filter = "T";}
Plot1(mp, "T/F", default, green);
 End Else
 { Filter = "F";}
  Plot1(mp, "T/F", default, red);

What i am missing ?

Thank you all

Mario