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
Tried the MACD indicator, Clockwork. The result and the optimisation time are better. I am attaching the adjusted G12 function. Only case 3 is added.
double G12() {switch(Indctr)
{case 0:
iCusAO_1 = iAO(NULL, 240, 1); iCusAO_2 = iAO(NULL, 240, 2);
iCusTSM_1 = iCusTSM (24, 1); iCusTSM_2 = iCusTSM (24, 2);
Dlt_AO12 = iCusAO_1 -iCusAO_2; Dlt_TSM12 = iCusTSM_1-iCusTSM_2;
if ( Dlt_AO12>=0 && Dlt_TSM12 <=0) return (0);
if ( Dlt_AO12<=0 && Dlt_TSM12 >=0) return (0);
return(Dlt_AO12);
case 1:
iCusAO_1 = iAO(NULL, 240, 1); iCusAO_2 = iAO(NULL, 240, 2);
Dlt_AO12 = iCusAO_1 -iCusAO_2; return(Dlt_AO12);
case 2:
iCusTSM_1 = iCusTSM (24, 1); iCusTSM_2 = iCusTSM (24, 2);
Dlt_AO12 = iCusTSM_1-iCusTSM_2; return(Dlt_AO12);
case 3:
iCusAO_1 = iMA(NULL,60,12,0,MODE_EMA,PRICE_CLOSE,1)-iMA(NULL,60,26,0,MODE_EMA,PRICE_CLOSE,1);
iCusAO_2 = iMA(NULL,60,12,0,MODE_EMA,PRICE_CLOSE,2)-iMA(NULL,60,26,0,MODE_EMA,PRICE_CLOSE,2);
Dlt_AO12 = iCusAO_1 -iCusAO_2; return(Dlt_AO12);}}
ZS. I haven't tried it on the demo yet, I'll start in March.
Quite often when opening a position, error 146 (busy trade flow) pops up. Is this the case for everyone?
This error is not in the EA, all questions to your broker)
It's not an error in the advisor, all questions to your broker)
Maybe it's a matter of stream queuing for a multi-currency EA after all?
It's not an error in the advisor, all questions to your broker)
It's not a question for your broker. It's a local terminal error, UNIP. It's an easy fix.
The issue is not with the broker. It is a local terminal error, EMNIP. Easy fix.
Seven times a day error on seven pairs. What is the cure, tell me?
Seven times a day error in seven pairs. What's the cure, can you tell me?
Sleep with om until context is free.
Sleep with it until the context is free.
>>Thank you )
must and will be used in the real version.
They are not necessary for testing and all the more so for optimization.
For the demo version IMHO
if(!IsTesting())
{while(!(( rslt>0 || TimeCurrent()-Begin>20))
{Sleep(1000); RefreshRates();
rslt= OrderSend(Symbol(),Op_,Vl,prc,slppg(),StLs,TkPt,cmnt,mgc,0,clr); }}
In the MOS() function of order management.
Who is testing how and with what. I have 6 instruments in two accounts with different lots. Version L9 with Indctr=1.
The account is -$440 ( +$900 ) on one-lot 0.1 and -$3400 ( +$5600 ) on the other-lot 0.5 to 2.
An interesting observation! Different accounts, but one brokerage company. On one of them stop-loss on Yen was copied in one point, on another one the price hasn't reached it for a couple of points.