Reply

Trail the Stop with conditions

7 replies

TJ#

Customer, bbp_participant, community, 144 replies.

Visit profile

7 years ago #115122

How do we trail a stop such that it will take 5 pips lower off the lowest low of last10 period candles or 30 pips aways for a long position? Whichever is lower.
 
I know how to condition each of them but not this. 
 
Many thanks.. 🙂

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #136982

Hello TJ, ok I will make an example for this

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #137687

Hello,

 

I have created an example on setting SL to lower value

0

TJ#

Customer, bbp_participant, community, 144 replies.

Visit profile

7 years ago #137691

Thank you… 

0

TJ#

Customer, bbp_participant, community, 144 replies.

Visit profile

7 years ago #139276

hi Tomas,

 

I tested Stop loss EA function (that provided) on a demo account and found them very weird. They are not acting according to the conditions…

 

The sqw I used is attached and the screenshot of 3 other pairs that I ran the EA.

 

The auto SL level seems to have run into some calculation error…. 

 

Pls take a look.

 

Thank you. 

File: 001.png001.png
File: 002.png002.png
File: 003.png003.png

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #139287

Hello TJ,

 

ok, I will look into what you have made and let you know

0

TJ#

Customer, bbp_participant, community, 144 replies.

Visit profile

7 years ago #139291

hi Tomas,

 

The only thing added is the trigger to open a long trade, magic # 1000.

 

see attached.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #139299

Hello,

 

there is a small bug in Wizard MoveToSL function. The price needs to be set as formula instead of “Fixed Price”. Look at the screenshot

0

Viewing 7 replies - 1 through 7 (of 7 total)