How can I make stop loss/take profit MODE as expert advisor inputs?
-
Hi, I tried adding constant type bool with value false/true

but because there are so many modes like:
-No stop loss
-Fixed pips
-% of the price
.... and so on it simply doesn't work.


Does anyone have any idea of how can this be accomplished?
Thanks in advance
Bronislaw -
@bronislaw536 Hi, there is that tick at the right that you can check, so it shows up in the inputs.
-
@cpxiom said in How can I make stop loss/take profit MODE as expert advisor inputs?:
re is that tick at the right that
Thank you for your response. This tick on the right is to have an input of SL/TP in pips value.
I want to be able without going back to the fxdreema builder, being able to choose SL/TP modes from inputs for optimization

-
I guess the only way is by creating a custom code for that. Maybe miro or roar can help.