|
Quote: |
|
 |
|
|
Is it possible that I can buy back 30 ticks below the entry on the same bar (if the low goes down that far) if not then the 1st bar that the low gets low enough to buy back at 30 ticks below the entry?
|
|
|
|
|
Just noticed your edited part, yes you can. Remove the red line below:
if mp = -1 then begin
buytocover ("ProfitTarget") next bar at ShortEntry - (ProfTarget*mintick) limit;
buytocover ("StoppedOut") next bar at mystop stop;
end;
and the add this to the bottom of the script:
setprofittarget( x );
Note: the profit target is now in dollar amount rather than number of ticks.
Cheers
Blu-Ray