Search codebase, you'll find not only your own version there, but even cooler...
But there is no point in such a TS, you're not the first... I don't know what to do with it, it's better to study the price chart instead of its derivatives...
mosart2 писал(а)>> I am not sure what the difference is between a mini and a normal forex, or between a demo and a real account, when working with Expert Advisors?
The only difference between the mini and regular is the minimum lot size.
On the real should provide for the handling of requotes and other errors.
Hi, I just registered and decided to create a thread. I'm not sure where to find the exact indicator and information about it. I am grateful in advance.
Hi, Edička, we'll tell you what's going on. Find CodeBase link on the top, click there, then click Indicators and choose any of them, they are all accurate and contain info. No need to thank you :-)
If I use one indicator to open about 1 to 7 deals either in buy or sell, and then by the same indicator, it should logically close all open deals either in buy or sell mode
I tried to implement it this way
int start(){//----int i;if(iCustom(NULL,0,"Индикатор",0,0)!=0||iCustom(NULL,0,"Индикатор",4,0)!=0)OrderSend(Symbol(),OP_BUY,0.1,Ask,3,0,0,"SynergyInd",230684,0,Green);if(iCustom(NULL,0,"Индикатор",1,0)!=0||iCustom(NULL,0,"Индикатор",5,0)!=0)OrderSend(Symbol(),OP_SELL,0.1,Bid,3,0,0,"SynergyInd",230684,0,Green);if(iCustom(NULL,0,"Индикатор",2,0)!=0){for( i=0; i<OrdersTotal(); i++){if(OrderSelect( i, SELECT_BY_POS, MODE_TRADES)){if(OrderType()==OP_BUY)OrderClose(OrderTicket(),OrderLots(),Bid,3,White);}}}if(iCustom(NULL,0,"Индикатор",3,0)!=0){for( i=0; i<OrdersTotal(); i++){if(OrderSelect( i, SELECT_BY_POS, MODE_TRADES)){if(OrderType()==OP_SELL)OrderClose(OrderTicket(),OrderLots(),Ask,3,White);}}}//----return(0);}
I tried it but now it does not open all trades and closes not all of them in short, it just does not work :(
If I take away closing trades and put TP and SL instead, the Expert Advisor opens all deals according to the signal indicator correctly
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.
Search codebase, you'll find not only your own version there, but even cooler...
But there is no point in such a TS, you're not the first... I don't know what to do with it, it's better to study the price chart instead of its derivatives...
I am not sure what the difference is between a mini and a normal forex, or between a demo and a real account, when working with Expert Advisors?
The only difference between the mini and regular is the minimum lot size.
On the real should provide for the handling of requotes and other errors.
The only difference between the mini and regular is the minimum lot size.
On the real should provide for the handling of requotes and other errors.
what is requotes?
what is a requote?
Please decipher the input parameters of an EA for a dummy, to substitute your own data:
Lots
MaximumRisk
DecreaceFactor
PeriodRSI
StohK1
StohD1
StohSlow1
StohK2
StohD2
StohSlow2
Control_period
Hi, Edička, we'll tell you what's going on. Find CodeBase link on the top, click there, then click Indicators and choose any of them, they are all accurate and contain info. No need to thank you :-)
Hello
Please advise the following
If I use one indicator to open about 1 to 7 deals either in buy or sell, and then by the same indicator, it should logically close all open deals either in buy or sell mode
I tried to implement it this way
I tried it but now it does not open all trades and closes not all of them in short, it just does not work :(
If I take away closing trades and put TP and SL instead, the Expert Advisor opens all deals according to the signal indicator correctly
I get a closing signal from the indicator correctly
I cannot get it to work
Please give me a hint
Thank you
I've decided to try making an EA using a 5-point system, but here's the problem
it works like this