Reply

Short when High greater than 20 Pips distance to EMA 20

5 replies

Uwe6000

Subscriber, bbp_participant, community, 27 replies.

Visit profile

7 years ago #116187

Hi, I would like to write a short condition as a test:
When the distance to high is greater than 20 pips to the EMA 20.

Unfortunately this does not work or I do not know how it goes.
I can only specify:
Rule short:
“High” > EMA20, but how can I include the distance in pips?

Thank you for ideas or examples.

 

best regards Uwe

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #141040

Hello,

 

I have made an example for you on how to make a difference between EMA and bar High. Let me know if any questions

0

Uwe6000

Subscriber, bbp_participant, community, 27 replies.

Visit profile

7 years ago #141057

thank you tomas for this example ! its working

a good stategie here:

i try thisone and change max distance pips to EMA200 at euro/usd chart to find peaks to open order in other direction !

0

Uwe6000

Subscriber, bbp_participant, community, 27 replies.

Visit profile

7 years ago #141059

hello tomas, how can i use the current “high” (maximum value) and not the “high” from the next period ?

means example the current high in bar and not the high in second period?

i like to use the current chart value for the maximum

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #141079

Hello,

 

if you want to use the current high you need to setup High[0] instead of High[1] as is in the example I provided. Let me know if any questions

0

Uwe6000

Subscriber, bbp_participant, community, 27 replies.

Visit profile

7 years ago #141372

Hello, thank you for help 🙂

0

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