Traders Laboratory - View Single Post - Easylanguage and Script Help
View Single Post
  #35 (permalink)  
Old 03-31-2008, 04:32 AM
Blu-Ray's Avatar
Blu-Ray Blu-Ray is offline
Blu-Ray has no status.

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 426
Thanks: 105
Thanked 53 Times in 34 Posts
Re: Easylanguage and Script Help

Quote:
View Post
Great but how do I do the same to the stoploss now please?

Cheers,
Darknite
Remove these lines below:

if mp = -1 then begin
buytocover ("StoppedOut") next bar at mystop stop;
end;


and the add this to the bottom of the script:

setstoploss( x );

Note: Same as setprofittarget, the setstoploss is now in dollar amount rather than number of ticks.

Cheers

Blu-Ray

ps: No probs I'll await your PM.

__________________
Remember - Take the path of least resistance.
Reply With Quote
The Following User Says Thank You to Blu-Ray For This Useful Post:
darknite999 (03-31-2008)