set Take Profit and Stop Loss in advance

HICHAM MOSSADDEQ  
On MT5 is it possible to set Take Profit and Stop Loss in advance. ideal for scalping. if i want my profit to be $20 and my loss to be $5 defined by default. iam thinking here of ATM Strategy on Ninjatrader. where everything can be configured and stored in a template. it's really surprising that there is no such possibility on MT5. THANK
Fernando Carreiro  
HICHAM MOSSADDEQ: On MT5 is it possible to set Take Profit and Stop Loss in advance.

Yes it is possible.

HICHAM MOSSADDEQ: iam thinking here of ATM Strategy on Ninjatrader. where everything can be configured and stored in a template.

You can create your own trading assistant in the MQL language.

You may find some examples with source code in the CodeBase section:

Reason: