PureBytes Links
Trading Reference Links
|
Simple example per multiple request:
(Just a snippet):
Lookback =
Round(JRC_Fractal24(PercentR(Length), FSmooth), 0);
IndLast = Ind;
Ind = JRC_Velocity2(PercentR(Length), VSmooth);
{ ****** Long Entry Setup Signal ***** }
If CurrentBar > 1 and IndLast < 0 and
IndLast = Lowest(Ind,LookBack) and
Ind > IndLast
Then
Begin
LLow = True;
HHigh = False;
StopSet = False;
End;
{ ***** Exit Long Setup Signal ****** }
If CurrentBar > 1 and IndLast > 0 and
IndLast = Highest(Ind, LookBack) and
Ind < IndLast then
Begin
LLow = False;
HHigh = True;
End;
|