Hi,
This should be simple, but I am having a hard time with it. I want a stoploss strategy that after I am in profit by a certain amount that I want to set my stop loss 1 tick below the low of the last completed bar. Can anyone help me please?
Thanks
Simple EaslyLanguage Question -- stop loss
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Simple EaslyLanguage Question
Dear Kingjelly,
Please try to use the following code:
Please try to use the following code:
Code: Select all
if marketposition <= 0 then condition1 = false;
if marketposition > 0 and close > entryprice + 10 points then begin
condition1 = true;
value1 = low[1] - 1 point;
end;
if ( condition1 )
sell next bar at value1 stop;