Reply

How to calculate the Previous Candle Total Value in Pips (from high to low) ?

1 replies

Tarwada

Subscriber, bbp_participant, community, course_strategyquant-x-course, 91 replies.

Visit profile

6 years ago #113236

hello , I’ve tried to understand How to calculate the Previous Candle Total Value in Pips ( from high to low ) but i couldn’t figure out how i can do that  :unsure:

 

for example :

 

If the Previous Candle value  < 100 pips then do something

 

in other word , i don’t want my EA to take trades if the last Closed candle value in pips was bigger than 100 pips ( 1000 for 5 digit brokers )

 

^ lets say that this idea could avoid us the wrong signals that caused by unexpected market moves  😆

 

any ideas ?

 

thanks.  :rolleyes:

0

Mark Fric

Administrator, sq-ultimate, 3 replies.

Visit profile

6 years ago #128612

this is simple formula:  

 

IF

ConvertToPips(High[1] – Low[1]) > 100

THEN

Mark
StrategyQuant architect

0

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