EL Help

Questions about MultiCharts and user contributed studies.
Kingjelly
Posts: 26
Joined: 23 Jan 2008

EL Help

Postby Kingjelly » 06 May 2008

Hi,

Can anyone please help me with the best way to turn off a strategy when it reaches a certain dollar loss limit for the day. I know I can set a variable to tell it not to trade, I am just not sure how to get how much a strategy has lost in a give day.

Thanks,

Preston

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 07 May 2008

Hi Preston,

Please see a sample code in the attachment.
Attachments
stop_loosing_this_day.zip
(1.38 KiB) Downloaded 139 times

Kingjelly
Posts: 26
Joined: 23 Jan 2008

Thanks

Postby Kingjelly » 07 May 2008

Thank you Marina, extremely helpful as always.


Return to “MultiCharts”