[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 121
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
Thank you! If it's a script, it might work - a script can work as an EA if you put it in experts.
As for the Expert Advisor, I have not been able to compile it and encountered some errors in the end:
'ErrorDescription' - function is not defined C:\Program Files (x86)\IamFX MT4\experts\VirtTPSL-Tr_EA.mq4 (45, 49)
Igor Kim's Functions
https://www.mql5.com/ru/forum/107476/page6#69097
And 'ErrorDescription', insert it at the beginning of the code
#include <stdlib.mqh> // Стандартная библиотека
copied, pasted, corrected some errors, the result -- the code in the 4 digit tester works:
really everything works. don't understand what happened. the code didn't change, yesterday it didn't work, but today it does. maybe it's my Vista brain that's messing with it?
Let's see if step=0
what sl and tp will be equal to
And the person who raised this question should set order sl=0, tp=0 and then modify it.
This must be it.
1. The "dude" has Step=100(on the 5 digits).
2. If setting an order goes according to your scenario, then :
a) first setting an order with zero stops -- any problems? ;
b) then modify this order in compliance with the "Requirements and limitations of trading operations".
Roll:
1. У "чела" Step=100(на 5-ти знаке)
The question is closed, and as if for an allowance
Here, in the DC you know (let's not say which one) MODE_STOPLEVEL=0
Help with a problem. I need to add a comment to the EA, so that in the tester the drawdown is displayed as a percentage, calculated by the formula: Drawdown = ((Balance - Equity)/Balance * 100)*-1, and I did it:
Comment("Просадка = ", DoubleToStr(Prosadka, 2),"%");
But I also need the maximum drawdown, which was for the run. That's it I do not even know how to do. Tell me at least which end to take, because I've never done such a thing. Thank you.
People need to know their heroes - please send details of the DC in a private message.
Help with the code.
There is code that prints zigzag data to a file for ( extern int Bars_count=10080;) the number of bars. How can I set the data for a period of time (extern int Time_Period=10080;) in minutes? It is needed for analysis on different TFs within the same period of time. And how to automatically determine the value of the arrays double zz_arr[10000], zz_arr_Abs[10000] ? This is to take as much data from the zigzag indicator as needed for the calculation of a period of time (extern int Time_Period=10080;) .
Code: