READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

HOW TO SET RANGE BREAK OUT E.A

4 replies

msophe

Subscriber, bbp_participant, community, 127 replies.

Visit profile

10 years ago #115346

HI

 

I try to build E.A range break out, after i create and i test into MT4 Back test no order was open, i think there mistake some

 

where, i need your help.

 

My rules is that:-

 

when bar in range after 6 and come high than this range if it will go up should buy and if will go short should sell.

 

I put stop loss and take profit, will see here.

 

I have attach how am done, in order to correct me.

 

 

Thanks.

 

 

 

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #138289

Hello,

 

the “Highest” (or the Lowest) function returns market price so you compare values incorrectly.

 

I understand you want to have the highest and the lowest of 6 bars back and then wait max 4 bars for breakout of that range. It can be done like shown in the file by playing with SHIFT parameter

1

msophe

Subscriber, bbp_participant, community, 127 replies.

Visit profile

10 years ago #138298

Thanks.

0

leonardo guia gonzalez

Subscriber, bbp_participant, customer, community, 1 replies.

Visit profile

2 years ago #284791

did it work?

0

msophe

Subscriber, bbp_participant, community, 127 replies.

Visit profile

2 years ago #286109

Yaahh, it work  thanks

0

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