Currently, I have the source code (extension mq4) of an existing EA, but I would like to expand the functions as follows.
・ Martingale on / off setting
・ Martingale magnification change setting
・ Setting profit pips
・ Forced loss cut pips setting
・ Nampin pips setting
Also, of the above
・ Setting profit pips
・ Forced loss cut pips setting
・ Nampin pips setting
Please edit the code so that these three settings can be derived based on "Average True Range".
In other words, the parameter input items are as follows.
・ATR periods: Input value
・Take Profit ATR: Input value
・Stop Loss ATR: Input value
・Nampin ATR: Input value
An image example of parameter input is also attached, so please check it as well.