Does anyone has a sample (or is interested on develop) an expert advisor that open positions (BUY and SELL) based on Global Variables values?
I already have the indicators and scripts that sets the desired values for the variables (thanks Paulo from Solutionsfx). What I need:
- EA that opens BUY/SELL positions based on global variables values.
- 2 Profit Trailing values (to be entered by the trader via external variables). For instance, when profit 15pips, move SL to breakeven 1, when profit 35, move it to 10.
- Trailing profit system (to be entered by the trader) and that will act after the 2 profit trailing functionality above are satisfied. For instance, Trailingprofit =20, Trailing Points = 5. This will add more 5 pipis each time the order gets a 20 pips above 35 level on the second line.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Dear All,
Does anyone has a sample (or is interested on develop) an expert advisor that open positions (BUY and SELL) based on Global Variables values?
I already have the indicators and scripts that sets the desired values for the variables (thanks Paulo from Solutionsfx). What I need:
- EA that opens BUY/SELL positions based on global variables values.
- 2 Profit Trailing values (to be entered by the trader via external variables). For instance, when profit 15pips, move SL to breakeven 1, when profit 35, move it to 10.
- Trailing profit system (to be entered by the trader) and that will act after the 2 profit trailing functionality above are satisfied. For instance, Trailingprofit =20, Trailing Points = 5. This will add more 5 pipis each time the order gets a 20 pips above 35 level on the second line.
- Only one position per SYMBOL.
Thank you very much
Regards
Paulo