Good afternoon!
I wanted to try to create an Expert Advisor similar to this one, but using a different indicator... Unfortunately, your code contains errors that do not allow to use it... I realise that I am a lamer, but I have posted a supposedly working program, not a piece of code.... If you can give explanations...
Regards to you, Asad.
Good afternoon!
I wanted to try to create an Expert Advisor similar to this one, but using a different indicator... Unfortunately, your code contains errors that do not allow to use it... I realise that I am a lamer, but I have posted a supposedly working program, not a piece of code.... If you can give explanations...
Regards to you, Asad.
I loaded the Expert Advisor into the Tester on the hourly chart and pressed the "Start" button. The Expert Advisor works without a single error as it did a year ago!

Test result
My trades are not executed in the tester on both run and optimisation ? What is the reason....
There is a mistake in the code, instead of
//+------------------------------------------------------------------+ //| correction of the pending order size to a permissible value || //+------------------------------------------------------------------+ bool StopCorrect(string symbol,int &Stop) { //---- int Extrem_Stop=int(SymbolInfoInteger(symbol,SYMBOL_TRADE_STOPS_LEVEL)); if(!Extrem_Stop) return(false); if(Stop<Extrem_Stop) Stop=Extrem_Stop; //---- return(true); }
should be
//+------------------------------------------------------------------+ //| correction of the pending order size to a permissible value || //+------------------------------------------------------------------+ bool StopCorrect(string symbol,int &Stop) { //---- int Extrem_Stop=int(SymbolInfoInteger(symbol,SYMBOL_TRADE_STOPS_LEVEL)); if(!Extrem_Stop) return(true); if(Stop<Extrem_Stop) Stop=Extrem_Stop; //---- return(true); }
There's a typo in the code, instead of
should be
The publication is old, it has the first edition of the includnik. In the new includnik it looks like this:
bool StopCorrect(string symbol,int &Stop) { //---- long Extrem_Stop; if(!SymbolInfoInteger(symbol,SYMBOL_TRADE_STOPS_LEVEL,Extrem_Stop)) return(false); if(Stop<Extrem_Stop) Stop=int(Extrem_Stop); //---- return(true); }
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Exp_3Parabolic:
The trading system based on the three Parabolics with three different Time Frames
Fig. 1. The instances of history of deals on the chart.
Author: Nikolay Kositsin