Jim Dean
 Sage
       Posts: 3433
Joined: 3/13/2006
Location: L'ville, GA
User Profile |
#Stop
#param "Delay", 2, 1, 10
dim Bcnt as integer = 0
if Bcnt >= Delay then
if Signal = LongSignal then
if C < EntryPrice then Signal=ExitSignal
else
if C > EntryPrice then Signal=ExitSignal
end if
end if
Bcnt += 1
... not tested but it should work OK
|