Errors, bugs, questions - page 1473

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
Believe me, I can write my own for a long time and I am an excellent custom programmer, I have many useful programs that I have written personally and they sell very well.
What I'm saying to YOU is that you shouldn't look for a rubbish in someone else's when you have the same log.
IMHO. All the best, happiness, health, love.
Thank you. All the best to you too ;)
But at your leisure compare my code and Igor's code (not yours, we have not seen yours yet)
to find out do this:
Artyom Trishkin:
Функцию ставьте за пределами других функций, а не внутри. Например, после последней закрывающей скобки всего вашего кода.
Thank you very much - that helped - because I put it at the beginning of the launch and still think what's wrong))))
I have tried to trade robots with my EA, but I have not seen them. I downloaded mt5 again and attached it, but it does not trade. before I took it down, everything was ok. error code: 4752, trading for the EA is not allowed. What is the reason????.In the settings, trade is allowed. on the history is tested. I am an amateur in this business. I am an amateur in this field. Can you tell me what is the reason?
it is written at the bottom of the chart less than 60 bars - the advisor will not work
I have a feeling that somewhere in the code it says:" If the bars are higher than 60, then we are working.
This is some bullshit.
- so I wrote double lots=0.01 in the beginning;
then in the code
if(isCloseLastPosByStoporTake(",-1,-1)==1)
{lots=0.01;} // position closed at the plus
if(isCloseLastPosByStoporTake(",-1,-1)==2)
{lots*=2;} //position closed on the downside
//---buy, sell, etc.
if(lots>0.15) //if the lot has increased to a value higher than 15, then we scale it back
{lots=0.01;}
did I write the code correctly? Where is the error?
I need - when minus was multiplied by 2 and if minus repeats, it should be 0.02, not 0.01 and so on, until we are in the black
Now I have tested - it multiplies for me after a loss by 4 or by 8 at once - it has zero logic - just what value I wanted, and that takes it!
how to fix it?
Took the wind down, downloaded mt5 again, attached EA, but it does not trade. Before I took it down, everything was OK. error code: 4752 trading for EA is not allowed. What is the reason????.In the settings, trade is allowed. on the history is tested. I am an amateur in this business. I am an amateur in this field. Please tell me what is the reason.