ATR reflects the volatility of the pair, but also the relative size (price value) of the pair.
so it's a good indicator of the "size" of one candle
it adapts to the volatility as well as the value of the price
for example how do you know if a candle is "big" or not ? because the size means nothing.
well you can compare it with ATR AND the price itself
if you divide the ATR by the price, you got a normalized value that can be used to determine is a candle is "big" or not
for example:
"mul" is the min size you want.
hope it helps
Jeff
hi @Jean Francois Le Bas thankz
for reaply i try to understund your teory , for mul i use a arbitrari number like 68 , and not use high and low beacause i want
a body of candel ,(for start)
for me not work i have 2 different number , i attach a screenshot of my first test over XAUUSD and second image is refer to USDCHF,
you can look also you
Added topic My VPS crashes almost every day now My VPS crashes randomly and very often recently (almost every day) i looked in the log event viewer and i got these kind of errors "Activation context generation failed for "C:\Program Files (x86)\RSA MetaTrader 4 Terminal\terminal.exe".Error in Added topic How to get around max number...
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
ATR(140) for GBPUSD might be 0.00200
and for GBPJPY it might be 0.20000
ATR reflects the volatility of the pair, but also the relative size (price value) of the pair.
so it's a good indicator of the "size" of one candle
it adapts to the volatility as well as the value of the price
for example how do you know if a candle is "big" or not ? because the size means nothing.
well you can compare it with ATR AND the price itself
if you divide the ATR by the price, you got a normalized value that can be used to determine is a candle is "big" or not
for example:
"mul" is the min size you want.
hope it helps
Jeff
hi @Jean Francois Le Bas thankz for reaply i try to understund your teory , for mul i use a arbitrari number like 68 , and not use high and low beacause i want a body of candel ,(for start)
for me not work i have 2 different number , i attach a screenshot of my first test over XAUUSD and second image is refer to USDCHF, you can look also you
i tryed also with ChartTimePriceToXY but not work for my problem
it's very strange that MT not have a class for resolve this problem