TradingView
Mango2Juice
2020年5月11日午前2時44分

ATR Pips 

Euro Fx/Japanese YenFXCM

詳細

Show ATR in Pips

リリースノート

thanks to Brent for noticing panel overlapping with recent bars.
1. Add offset so that panel easily move left/right

リリースノート

1. add option for atr smoothing type
2. add vertical / horizontal offset
コメント
ishacm
Nice script. But, can we change its location to rightmost or the leftmost

As of now, it is covering many candles.
Dagwin
Nice script, but on lower time frames (anything lower than 1 day) it overlaps the most recent bars.
Shahrozart
Hi! nice script but I was thinking how could we change it's smoothing to SMa instead of RMa?
Mango2Juice
@Shahrozart, granted
Shahrozart
@Mango2Juice, lol nice! Thanks!
Mokerkane
The box of data is now showing up on my charts
Diesch5691
Hy Mango2Juice,
I find your ATR Pips feature very helpful. Thanks for providing it for free.
Now I have a question for an extension/improvement.
Unfortunately I don't know anything about programming, so I wanted to ask if you could possibly include the following additions/improvements.
1. an input field with LEVERAGE (field for 3 digits, e.g. 100)
Default 50 (can be changed)
2. an input field capital (field for max. 6 digits, ex. 100000 USD)
Default 1000 (can be changed)
3. in the output under the field "TakeProfit" a field mentioned
ATR(%)LV1
This field stands for the % ratio of ATR to the current price with a leverage = 1
Calculation example with the numbers from your description:
ATR(%)LV1 = Current ATR / current price.
98 pips is converted to decimal 0,98
1,374 % = 0,98 / 71,284
4. below an output field LEVERAGE: with the value xxx from point 1.
5. below an output field ATR(%)LVxxx
This field outputs the ATR in % multiplied by the LEVERAGE.
Example: Here 0.98 / 71.284 x 50 = 68.739 %.
6. below an output field ATR(USD)LVxxx
This field indicates the PIPS change in USD at the LEVERAGE xxx
Calculation example
0,98 / 71,284 x 50 x 1000 USD = 687,39 USD
The best thing would be to be able to display these other output fields, who wants to, by setting a yes or no flag.
Hereby one would have immediately an overview in % and/or USD which an employment with lever in profit and/or loss at height of the Current ATR would mean.
The whole thing would be very helpful to quickly find the trading product within an investment group, which would currently have the highest % ATR, i.e. is subject to the greatest fluctuation and what the risk or profit opportunity would mean in USD.
This would work for all asset groups FOREX, commodities, indices, crpyto, stocks and would be a great tool to select the optimal trading instrument with the current best volatility within an asset class.
allsam
excellent, thank You
GarethSA
Does this work on Crypto?
If not can you make one?
techsound088
Excellent script! Thank you for sharing.
詳細