Questions from Beginners MQL5 MT5 MetaTrader 5 - page 122
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Such a question. Is there any way to replace this rate increase transaction copying with this format:
{//----------------------------------------------------------------------------------------------otl sell_8
set_pos();
if(limit_b1==0 && otkr_b1==0)
{///
ticket = OrderSend(Symbol(),OP_BUYLIMIT, LOT ,TP_s8, 3, TP_s8-SL*Point, TP_s8+TP*Point, "0001", 0001, 0, CLR_NONE);
}///
set_pos();
if(stop_b9==0 && otkr_b9==0 && N >8 )
{///
ticket = OrderSend(Symbol(),OP_BUYSTOP, (((((((LOT*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT+(((((((((LOT*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT) ,SL_s8, 3, SL_s8-SL*Point, SL_s8+TP*Point, "0009", 0009, 0, CLR_NONE);
}///
zakr_b8();
}//----------------------------------------------------------------------------------------------otl sell_8
{//----------------------------------------------------------------------------------------------otl sell_9
set_pos();
if(limit_b10==0 && otkr_b10==0)
{///
ticket = OrderSend(Symbol(),OP_BUYLIMIT, LOT ,TP_s9, 3, TP_s9-SL*Point, TP_s9+TP*Point, "0001", 0001, 0, CLR_NONE);
}///
set_pos();
if(stop_b10==0 && otkr_b10==0 && N >9 )
{///
ticket = OrderSend(Symbol(),OP_BUYSTOP, ((((((((LOT*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT+((((((((((LOT*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*2+LOT)*Kommiccia) ,SL_s9, 3, SL_s9-SL*Point, SL_s9+TP*Point, "0010", 0010, 0, CLR_NONE);
}///
zakr_b9();
}//----------------------------------------------------------------------------------------------otl sell_9
for something simpler, so that I don't have to write the same thing 11 times. ?
The Signals tab had a list of people I can subscribe to, I clicked on the signature, registered here, everything is OK, now the signals tab is gone. I have no "Signals" tab in my settings and no orders are executed based on the signal. I checked if my subscription is working. Please, advise what to do.
Such a question. Is there any way to replace this copying of rate increase deals with this format:
............................
............................
to something simpler so I don't have to write the same thing 11 times. ?
Of course you can, and you should!
I would advise you to declare some variables as an array and loop through the same thing 11 times. :-) For example:
Perhaps there are small errors in the code I've suggested - I haven't compiled it. But the general idea is as follows. I do not recommend you to insert this fragment into your code in its pure form, as I do not know the essence of your trading strategy. :-) Good luck!Somebody advise me, I am working in MT4 how can I open an order on one account and open an order on the other one, for instance 1 to 10
Nothing is impossible. You need to run MT4 on two different computers or on one computer both MT4s, but from different brokerage companies. The first computer (the master MT4), on which you are going to open orders, you need to run the advisor, which will record all your moves into files and send them to the "FTP host". And on other computer (MT4 Slave) it is necessary to start "CuteFTP Professional" which will receive these files on time from "FTP host" and put them in the directory of MT4 Slave, which in turn is running another advisor able to read these files and repeat all your actions with another account. In the settings of which you can set the ratio of 1:10, even if it is 1:500.
It's much easier to register as a trading signal seller and sign up for 1:10 :-))
Indeed... If robots in forex trading were the grail, how many millionaires there would be.
The Holy Grail(old paraphrase Graal, Grâl, Sangreal, Sankgreal, Latin Gradalis) is one of the instruments of the Passion in medieval Celtic and Norman legends - the cup from which Jesus Christ ate at the Last Supper and into which Joseph of Arimathea collected the blood from the wounds of the Saviour crucified on the cross.
Millionaires and the Grail are completely different subjects. :-)
Hello, please clarify one thing.
For example, we have an EA with the OnTick event, which will open or close a position depending on the conditions. You can test the EA in the strategy tester where you can set the timeframe. I do not see how they are interlinked. Isn't the EA tested in the Strategy Tester, and it reacts to every tick? Or it reacts only to the selected timeframe in the Strategy Tester? I hope this question is clear
Question on the test report.
There are indicators describing a series of trades (uninterrupted wins/losses, Z-score). Do I understand correctly that this refers to trades, not positions. I.e. there was a position and it was closed by 4 deals. It turns out that this is a series of 4 winning trades, and not a single winning entry, which is what it is inherently?
Can you tell me how to hide the indicator used in the EA so that it is not visible after a test run and during a visualisation run in the strategy tester?