Auftrag beendet
Spezifikation
(at the end you have a link to a similar script which saves you time and work)
SEE ATTACHED IMAGE FIRST
i need an indicator or script that opens all listed pairs with "scale fix" as follow:
fixed maximum: current price + (D1 ATR 14 * 0.5 / 100000) (formula my not be correct!)
fixed minimum: current price - (D1 ATR 14 * 0.5 / 100000) (formula my not be correct!)
in other words, half of the D1 ATR is above and half is below. See image below.
customizable inputs:
Timeframe ATR:D1 (dropdown list all timeframes)
ATR period:14
ATR multiplicator: 1
Amount ATR above:0.5 (above current price)
Amount ATR below:0.5 (above current price)
Pairs: USDJPY, USDCHF, USDCAD, NZDUSD, NZDJPY, NZDCHF, NZDCAD, GBPUSD, GBPNZD, GBPJPY, GBPCHF, GBPCAD, GBPAUD, EURUSD, EURNZD, EURJPY, EURGBP, EURCHF, EURCAD, EURAUD, CHFJPY, CADJPY, CADCHF, AUDUSD, AUDNZD, AUDJPY, AUDCHF, AUDCAD (listed, separated by comma)
Order of pairs: List order / Alphabetical / Random (open charts in same order like custom list above or alphabetical or random)
All other things like timeframe, zoom etc. will be of course taken from DEFAULT template settings.
so each chart will get a different scale fix minimum and maximum of course.
Pairs: AUDCAD, AUDCHF, AUDJPY, AUDNZD, AUDUSD, CADCHF, CADJPY, CHFJPY, EURAUD, EURCAD, EURCHF, EURGBP, EURJPY, EURNZD, EURUSD, GBPAUD, GBPCAD, GBPCHF, GBPJPY, GBPNZD, GBPUSD, NZDCAD, NZDCHF, NZDJPY, NZDUSD, USDCAD, USDCHF, USDJPY
Here is a script that changes all open charts to percentage of price, may save you time:
https://www.mql5.com/en/code/21357
Another one: Scale fix all (script)