[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 332

 

Hello!

Can you tell me if my name has been crossed out on the https://www.mql5.com/ru forum and only the "complain" button is available!

What does this mean?

 
Roman.:


1. Here is an example of how the code is organised in my owl:

2. Including the spread - click on the Symbol tab in the Strategy Tester window on the top right and read the contents of the drop-down window.


Thank you!
 
gisip:

Hello!

Can you tell me if my name has been crossed out on the https://www.mql5.com/ru forum and only the "complain" button is available!

What does this mean?

Probably a ban. And probably an IP ban.
 

Good afternoon dear forum users .

How to make a vertical line be drawn in the chart window every 4 hours when testing .

if (Hour()==0 || Hour()==4 || Hour()==8 || Hour()==12 || Hour()==16 || Hour()==20) {

ObjectCreate("text_object",OBJ_VLINE,Ask,TimeCurrent(),0,0,0,0;)
WindowRedraw();

}

Only the first line appears on the chart and then nothing is drawn ((( .

 
sergeev:
Probably a ban. Probably an IP ban.

Can you tell me for how long?

Because my IP is permanent.

P.S. It's not clear at all what the ban is for.

Maybe mixed up with someone else?

 
flintz:

Good afternoon dear forum users .

How to make a vertical line be drawn in the chart window every 4 hours when testing .

if (Hour()==0 || Hour()==4 || Hour()==8 || Hour()==12 || Hour()==16 || Hour()==20) {

ObjectCreate("text_object",OBJ_VLINE,Ask,TimeCurrent(),0,0,0,0;)
WindowRedraw();

}

Only the first line appears on the chart and then nothing is drawn ((( .

So you've created an object named "text_object" and that's it, it's logical that there won't be any others. Each line should have its own name.

Also note that Hour()==0 lasts for a whole hour, and you need one line for it

 
ilunga:

Well, you have created an object named "text_object" and that's it, it's logical that there won't be any others. You have to give each line its own name.

Also note that Hour()==0 lasts for a whole hour, and you need one line per hour.

Thank you !!!
 

Help who has the MA indicator, but it should be possible to place it on M15 and it would be drawn on H1.

tried to change

Bars на iBars(NULL, PERIOD_H1)


и

Close[] на iClose(..)

draws anything

 
gisip:

Can you tell me how long it's going to last?

Move the moderators. the problem is solvable.
 
T-G:

Help who has the MA indicator, but it should be possible to place it on M15 and it would be drawn on H1.

tried to change


и

draws anything

https://www.mql5.com/ru/code/9603