[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 326

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
That's better than nothing.
And "show object" - there's no such function?
The original idea was to look at some arbitrary events on the history. For example, to see where candlesticks without shadows are usually formed, or specific location of indicators on the history. Suppose they are "standing" now, the address of a place where they were standing before can be found using the script, but it is difficult to look at them with the eyes.
Ctrl+B --> select object --> [show] button.
Dear traders, help me deal with this problem. I have an indicator in which I manually set the datetime value. It looks like this
For example current date is 2009.12.02
Then the datetime should be: yesterday's date
datetime some_time=D'2009.12.01 01:30';
..............................
..............................
..............................
int shift=iBarShift(NULL,0, some_time);
Actually the question is how to replace manual some_time with automatic
Guys, help me out, or a link to an indicator where you can see how such an issue is resolved.
Guys, help me out, or a link to an indicator where you can see how this issue is resolved.
Re-formulate the problem - it's not clear what you want to get as a result.
Please rephrase the problem - it is not clear, what you want to get as a result.
The point is that every day I have to change the date, while the time remains fixed. If I set some_time=D'2009.12.02 01:30'; if I'm about to enter the 4th day, then some_time=D'2009.12.03 01:30';
But it is not convenient to enter the date every time and it will not work with an Expert Advisor if such an indicator is mounted and run on the history. And I want the some_time value to be automatically calculated at occurrence of a new day (only date, time is fixed).
Ctrl+B --> select object --> [show] button.
This is not a function, but a button.
I asked how to position the chart on the object from the script.
The point is that every day I have to change the date, while the time remains fixed. If I set some_time=D'2009.12.02 01:30'; if I'm about to enter the 4th day, then some_time=D'2009.12.03 01:30';
But it is not convenient to enter the date every time and it will not work with an Expert Advisor if such an indicator is mounted and run on the history. And I would like the some_time value to be automatically calculated at occurrence of a new day (only date, time is fixed).
As an option:
some_time=iTime(Symbol(),PERIOD_D1,1)+1*3600+30*60;
Please help a newbie. I have downloaded the terminal on a site of the manufacturer, but cannot download the quotations from history centr. I cannot download data in Service, after I have chosen any instrument and timeframe and pressed "download". The proxy server is set up correctly.
You have to open a demo account first, then upload. If the demo account is open, then I don't know.
PEOPLE HELP ME OUT !!!!! I am NOT A PROGRAMMER, i'm just a trader!!! i got this problem... WHEN I RAN THE EA FOR OPTIMIZATION I GOT THE VALUES, I CHOSE THE VALUES WITH THE MINIMUM DRAWDOWN, I COPIED THEM ON A PIECE OF PAPER... AND THEN ACCIDENTALLY CLICKED AGAIN ON THE OPTIMIZATION. I DECIDED TO WAIT UNTIL THE OPTIMIZATION IS COMPLETE IN ORDER NOT TO GET LOST IN IT, BECAUSE I HADN'T COPIED ALL VALUES. AFTER I FINISHED, I CHOSE MINIMAL DRAWDOWN AND GOT NEW VALUES! WHY????????? I DID NOT CHANGE THE DATE OR EXPERT PARAMETERS!!!! I SHOULD HAVE GOT THE SAME PARAMETERS AS IN THE FIRST CASE!!! IF YOU WOULD BE SO KIND AS TO EMAIL ME THE ANSWER AT Nikolay_Sokolov@mail.ru.
>>Thank you all in advance.
You don't have to write in such big letters, it doesn't make the issue any clearer. The phenomenon is due to genetic optimization. https://www.mql5.com/ru/articles/1408