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
Thanks mladen ,
I think i have blind , i never saw the buffer 6 . Now it work perfectly :)
I just make a quick test in ea tester , after testing i check on the "indicators list " .
It have load many time of the indicator , it this normal ?
stevenpun
No it is not normal
Check the types of the parameters used in iCustom() call (that error usually happens when the type of the parameter used in iCustom() call is not the same as in indicators parameters list)
No it is not normal
Check the types of the parameters used in iCustom() call (that error usually happens when the type of the parameter used in iCustom() call is not the same as in indicators parameters list)
Still cant solve it , i try to copy the whole parameter from the indicator it still remain the same .
Mr mladen , is that can you help me to remove all the alert and time frame from the indicator ?
To make it "simple" for ea use only .
Still cant solve it , i try to copy the whole parameter from the indicator it still remain the same .
Mr mladen , is that can you help me to remove all the alert and time frame from the indicator ?
To make it "simple" for ea use only .
I used this code :
for test, and all works OK
I used this code :
for test, and all works OK
I had test the code you post but still get the same problem .
I attach the ea , when you have a free time can you test it ?
And i have one more question about the TotalsOrder() .
I want the close all function to close only for the chart i attach .
As far as I know TotalsOrder() will return all Open Orders for all symbols, but how to get for specific currency pair ?
Try to get the answer from the internet but not really understand .
One of the code is count orders in the orders loop, but not sure where to place the code .
You just need to change the indicator name to " ptl 2_1 + alerts.mq4 " then it should work .
The ea iCustom call for this name .
I had test the code you post but still get the same problem .
I attach the ea , when you have a free time can you test it ?
And i have one more question about the TotalsOrder() .
I want the close all function to close only for the chart i attach .
As far as I know TotalsOrder() will return all Open Orders for all symbols, but how to get for specific currency pair ?
Try to get the answer from the internet but not really understand .
One of the code is count orders in the orders loop, but not sure where to place the code .
stevenpun
It does not cause those errors on my terminal (it works as it should - loading only one instance of the indicator, no code change)
Also, the function you posted is OK, but you have to check if the OrderSymbol() is the same as Symbol() when you close the order too
You just need to change the indicator name to " ptl 2_1 + alerts.mq4 " then it should work .
The ea iCustom call for this name .
It's original name is the same anyway.
New forum is changed it name to upload!
What errors do you get in the experts or journal tab of terminal?
I'm waiting any error to get journal tab...