: If marketposition=1 then Plot1 (LXPrice,"LST");
:
: ExitLong ("TrlLX") Next Bar at LXPrice Stop;
:
: SXPrice = HighestFC(High, Length) + 1;
:
: If marketposition=-1 then Plot2 (SXPrice,"SST");
You've got to use I_marketposition instead of marketposition.
|