I would like to be able to trade 3 instruments at once in one EA. I am trying to realise this by my own efforts, but in many moments it turns out not very beautiful, because of inexperience in programming. If I could offer a solution, I probably would not use the wizard, if there is a class that implements everything for trading on one instrument, why can't I create 3 objects of this class and trade on 3 instruments?
1. Price level to execute a deal - parameter for more "flexible" market entry. It defines the margin from the current market price (in 2/4 digit points). For example, the price has broken some level, but "we know" that after the trial breakout should be followed by a pullback to the level and only after that further movement. We set the value of the parameter to less than zero. Instead of entering the runok at the current price, we get an entry by limit order (if we guessed the pullback). If the value of the parameter is positive, set a stop order (it may be necessary to confirm the "bounce" signal).
2. Expiration of pending orders (in bars) - the parameter defines the time of "life" of a pending order in bars. For example, if we work on a 15-minute interval, the parameter value is 4. If the order does not work, it will be automatically cancelled in an hour. This is useful in real trading.
Wait! Do I have the ability to set pending orders in the Wizard? In general, is there a more complete description (or is it planned) of how theExpert Advisors generated by the Wizard work? Or do I need to get into the signal programs and figure it out for myself? I mean, these two parameters automatically appear in the Expert Advisor, but whether and how they will be used is unclear!
I would like to see some SignalCustom.mqh sample. I'm having problems to understand how I should use it. I'm trying to learn how to add my own indicators in MQL5 Wizard.
Do you want to try out a trading strategy while wasting no time for programming? In MQL5 Wizard you can simply select the type of trading signals, add modules of trailing positions and money management - and your work is done! Create your own implementations of modules or order them via the Jobs service - and combine your new modules with existing ones.
I would like to see some SignalCustom.mqh sample. I'm having problems to understand how I should use it. I'm trying to learn how to add my own indicators in MQL5 Wizard.
tsaktuo
Don't worry. This sample will be published but a bit later. Approximately for a two weeks.
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.
what is your specific task ?
why can't you create 3 objects of this class and trade on 3 instruments?
1. Price level to execute a deal - parameter for more "flexible" market entry. It defines the margin from the current market price (in 2/4 digit points). For example, the price has broken some level, but "we know" that after the trial breakout should be followed by a pullback to the level and only after that further movement. We set the value of the parameter to less than zero. Instead of entering the runok at the current price, we get an entry by limit order (if we guessed the pullback). If the value of the parameter is positive, set a stop order (it may be necessary to confirm the "bounce" signal).
2. Expiration of pending orders (in bars) - the parameter defines the time of "life" of a pending order in bars. For example, if we work on a 15-minute interval, the parameter value is 4. If the order does not work, it will be automatically cancelled in an hour. This is useful in real trading.
Wait! Do I have the ability to set pending orders in the Wizard? In general, is there a more complete description (or is it planned) of how theExpert Advisors generated by the Wizard work? Or do I need to get into the signal programs and figure it out for myself? I mean, these two parameters automatically appear in the Expert Advisor, but whether and how they will be used is unclear!
1. Yes.
2. No description yet.
I would like to see some SignalCustom.mqh sample. I'm having problems to understand how I should use it. I'm trying to learn how to add my own indicators in MQL5 Wizard.
tsaktuo
Hi Victor,
Seems nice, but I guess I found an error in SignalStoch.mqh :
I would like to see some SignalCustom.mqh sample. I'm having problems to understand how I should use it. I'm trying to learn how to add my own indicators in MQL5 Wizard.
tsaktuo
Thank you. Fixed.
uncleVic,
You're welcome, but can you please :
Regards,
Olivier
1. My English is too bad so that I could explain it. Will be written, in which the details of the algorithms. (With Google Translator)
2. Macro evaluates to true if the value of a specified bit in a variable m_patterns_usage equals 1, otherwise is false.
(With Google Translator)
P.S. If you are content with my Google-English, answer the other questions.