Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 837

 

guys how can you reduce the date by one day with the same time

e.g.

2015,01,22, 01:00

and need to get the next one

2015,01,23 01:00 I can't figure out how.Thanks .

 
evillive:

Here's


Thank you and all the best! It turned out better than I imagined)
 
evillive:

Here's


Are you building a rocket?

Or at least try to clarify which else refers to which if.

Unless, of course, you can figure it out yourself.

Parentheses are usually helpful in this case

 
Vinin:

Are you building a rocket?

Or at least try to clarify which else refers to which if.

Unless, of course, you can figure it out yourself.

Braces are usually helpful in this case.

The code is not mine, all questions to the author ;)

The question was about getting a quote from another timeframe and brackets were not appropriate.

 
I have a question, my Expert Advisor takes a screenshot after each trade is closed. But, at the same time, the trade is done manually. How do I make the deal itself appear on the chart like this when I close it?
 

Good afternoon!

Question: where can I download/upload the best quality, "ticking" history

for 3 or preferably 5 years (by major instruments)?

 
woin2110:
I have a question, my Expert Advisor takes a screenshot after each trade is closed. But, at the same time, the trade is done manually. How can I make the deal itself appear on the chart in this way when I close it?
You cannot do it manually. The terminal will draw these icons only if you trade using a program. As an option, you can then copy the history of manual trading to the chart, all deals will be indicated.
 
RoniIron:

Good afternoon!

Question: where can I download/upload the best quality, "ticking" history

for 3 or preferably 5 years (by major instruments)?

Tickstory Lite.
 

Can't get the design together

ENUM_DAY_OF_WEEK day = (ENUM_DAY_OF_WEEK)SymbolInfoString(_Symbol,ENUM_DAY_OF_WEEK);

It keeps swearing at

ENUM_DAY_OF_WEEK

In day I have to get the index

SUNDAY

Sunday

MONDAY

Monday

TUESDAY

Tuesday

WEDNESDAY

Wednesday

THURSDAY

Thursday

FRIDAY

Friday

SATURDAY

Saturday

 
VOLDEMAR:

Can't get the design together

It keeps swearing at

In day I have to get the index


ENUM_DAY_OF_WEEK of int type.
Reason: