工作已完成
指定
I would like to add a new take profit’s/ stop loss method of using a multiple of the ATR. Still want to use partial close on it, but I want the tp levels to be fluid based off market conditions.
For example is ATR is 100 pips the take profits will be that number times a set value to determine what the take profit levels are instead of just a set value of pips.
So pretty much I want you to be able to change the atr period and multiplier of atr for Tp1, 2, 3 and SL.
For example if at the time of the open of the trade the atr is set to period 14 and value of atr 100 pips. Then I would like to be able to put in my own multipliers like let’s say Tp1 is multiplier of 2, tp2 is multiplier of 4, tp3 is multiplier of 5 and SL is multiplier of 3….
So I would then like tp1 to be 200, Tp2 would be 400, tp3 would be 500 and SL would be 500… does that make sense ?
And I would like to be able to control the atr period and multiplier to be able to change them.
Once all conditions are met and the trade opens it should set the TP’s and SL’s automatically using the atr value times the multiplier…. So those numbers are fixed once the trade is taken based on atr value at time of trade…
But I want to have the function on the ea to be able to change the atr period and multiplier to whatever I want (of course before the trade is taken).
If this can be a true/false function that would be great. So if true then use this new atr function. If false then use standard fixed pips.