[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 430

[Deleted]  

Experts are disabled because the account << << your account does not support Expert Advisors or Expert Advisors - function is disabled

Detailed translation - disabled because account was changed

What broker? -

 
yosuf:

How do I get the EA working again?

click on " EAs " on the help button in the terminal.
[Deleted]  

Hello, dear programmers. Could you please tell me what exactly needs to be changed (added zeros) in order for the Expert Advisor to work with five-digit quotes? Here is a piece of code:

extern double Lot = 1.0;
double gd_88;
double gd_96 = 0.0;
double gd_104 = 24.0;
double gd_112 = 0.0;
double gd_120 = 24.0;
extern double TP = 30.0;
double g_pips_136 = 1000.0;
bool gi_144 = FALSE;
bool gi_148 = FALSE;
double gd_152 = 10.0;
bool gi_160 = TRUE;
bool gi_164 = TRUE;
bool gi_168 = TRUE;
bool gi_172 = TRUE;
bool gi_176 = TRUE;
bool gi_180 = TRUE;
bool gi_184 = TRUE;
int g_magic_188 = 29302;
bool gi_192 = FALSE;
bool gi_196 = FALSE;
bool gi_200 = FALSE;
double g_lots_204 = 0.0;
double gd_unused_212 = 22.0;
double gd_220 = 20.0;
double gd_228 = 22.0;
double gd_236 = 20.0;
double gd_244 = 22.0;
double gd_252 = 20.0;
double gd_260 = 22.0;
double gd_268 = 20.0;
double gd_276 = 22.0;
double gd_284 = 20.0;
double gd_292 = 22.0;
double gd_300 = 20.0;
double gd_308 = 22.0;
double gd_316 = 20.0;
double gd_324 = 22.0;
double gd_332 = 20.0;
double gd_340 = 22.0;
double gd_348 = 20.0;
double gd_356 = 22.0;
double gd_364 = 22.0;
bool gi_372 = FALSE;
Thank you in advance.
[Deleted]  

I still can't tell a trend from a correction:(((There seems to be a trend, but if I look wider (wider corridor) it looks like correction, not a trend at all. Because of this I cannot decide what to pay attention to as trend or oscillator.

Who may help me, if I'm a beginner, to choose...:(Or it may come with experience only...)

[Deleted]  

Can you tell me how to shift the chart of a custom indicator to the right relative to the price, so that the last value is drawn where the next, not yet opened, bar will be.

 
fx_max:

Can you tell me how to shift the chart of a custom indicator to the right of the price, so that the last value is drawn where the next, not yet opened, bar will be.

https://docs.mql4.com/ru/customind/SetIndexShift
 

double k1=0.1*3;

double k2=0.3;

if (k1==k2)

Alert("Условие сработало");

I can't figure out what I'm doing wrong, but in this case the condition doesn't work... I'm fine with integers. Help me out here.

 
LexAlex:

double k1=0.1*3;

double k2=0.3;

if (k1==k2)

Alert("Условие сработало");

I can't figure out what I'm doing wrong, but in this case the condition doesn't work... I'm fine with integers. Help me out here.

peculiarities of double numbers: https://www.mql5.com/ru/articles/1561
 
dendyman:

Hello, dear programmers. Could you please tell me what exactly needs to be changed (added zeros) in order for the Expert Advisor to work with five-digit quotes? Here is a piece of code:

extern double Lot = 1.0;
double gd_88;
double gd_96 = 0.0;
double gd_104 = 24.0;
double gd_112 = 0.0;
double gd_120 = 24.0;
Thank you in advance.
Oh, they don't like decompiled code here...
[Deleted]  
Good day forum members ! Could you please tell me if anyone has a common stochastic from MT4 and it has the following feature, when %K and %D are crossed it draws a vertical line, either in the indicator window or in the main chart window.