Reply

Trail Stop to Highest (5)

4 replies

cfred15

Subscriber, bbp_participant, community, 18 replies.

Visit profile

5 years ago #114244

This is a question about the short side of the trailing stop example in the EA Wizard.

I think that it is correct,  but it will not run on the MT4 Strategy Tester,  and the metaeditor shows 45 errors.

 

Please take a look.

 

Thank you

 

cFred15

0

tomas262

Administrator, sq-ultimate, 684 replies.

Visit profile

5 years ago #132943

hi cfred, ok I will check it

0

tomas262

Administrator, sq-ultimate, 684 replies.

Visit profile

5 years ago #133082

I couldn’t do testing in MetaTrader since I have those custom indicators missing.

Make sure you have all custom indicators copied into MetaTrader and check your magic numbers. You actually need only two magic numbers – one for long and the other for short side. I see you used more than two magics

0

cfred15

Subscriber, bbp_participant, community, 18 replies.

Visit profile

5 years ago #133254

Thank you tomas262.  I am interested in using the ” Trailing Stop to lowest low ” in the SQ Wizard home page,  but got stuck doing the Short part. Would the condition be

 

((Highest (barsback) [1]  + convert to real pips ( trailing stop offset)) less than Order SL ?

 

 

 

thank you again

 

cFred15

0

tomas262

Administrator, sq-ultimate, 684 replies.

Visit profile

5 years ago #133287

it seems correct, check your magic numbers too. you should only use 2 of them. One (1000) for long trades and another (2000 for example) for short trades. This way your trail will probably won’t work

0

Viewing 5 posts - 1 through 5 (of 5 total)