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

EL HELP REQUESTED FOR CHECK ALERT



PureBytes Links

Trading Reference Links

To List,
Help is required on creating a check alert, please review and tweak.

Inputs: Length(3), Length1(5);
Vars:av1(0),av2(0,data2), Flag(False);
av1= XAverage(c,Length);
av2 = XAverage(c of data2,Length1) of data2;
plot1(av1,"short");
plot2(av2,"long");

If Plot1 Crosses Above Plot2 Then
Flag = True;

If Flag = True Then Begin
If  Plot1 > Plot2 and Plot1 > Plot1[1] and Plot1[1] < Plot2[1] and Plot1[2]
< Plot2[2]
Then Begin
  IF CheckAlert Then Alert = True;
Flag = False;
End;
End;

All assistance is appreciated.

Thanks
John
jhoefer@xxxxxxxxxx