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

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
1) Make templates with preset EA and indicator parameters
2) Transfer parameters to indicators using GV
3) Call indicators to chart from EA using WINAPI
I prefer to draw an indicator chart from an EA via Arrow object
Salute!!!
I can't understand why Open=Close=High=Low - no difference, all prices are the same, four columns of the same prices in the file being created. Below is the code for the EA unloading the data.
Good afternoon Gentlemen Programmers! Please take a look at this very interesting Expert Advisor! I want to fix something, namely: I really want to attach to it (preferably switchable) customizable trawl on take profit. I think (and hope) it will not be too difficult for a specialist to do!
/*Decompiling on this forum is against the law. first time warning. repeat - eternal ban (FAQ)*/
Good afternoon Gentlemen Programmers! Please take a look at this very interesting Expert Advisor! I want to fix something, namely: I really want to attach to it (preferably switchable) customizable trawl on take profit. I think (and hope) it will not be too difficult for a specialist to do!
/*Decompiling on this forum is against the law. first time warning. repeat - eternal ban (FAQ)*/
There you go! And how code then lay out that it would be possible to see it, improve it? (question to moderators)
Well, I wrote a simpler example there.
***
And if you don't want to draw all the days, just the last one, it's done a little differently. I'm just suggesting a more professional approach.
ONLY it is NOT clear how to insert iHigh and iLow for a particular hour, the same hour = 5; ??????????? you get the same eggs again...
PROFESSIONALLY I was using iClose iHigh iLow, but I forgot how the code was written for this variant... I remember the principle, but I forgot the details.
please help me to understand how to do it???????????????????
Once again, please help PLEASE!!!!
How to correctly put iHigh iLow iClose???? of a specific (H1) timeframe into the buffer, so that it reads correctly on the charts below????
Hi, could you please tell me how to write it correctly?
The thing is, ObjectSetText doesn't do anything, so I get text instead of vertex caption.
I can't understand why in the file being created Open=Close=High=Low - no difference, all prices are the same, four columns of the same prices. Below is the code of the Expert Advisor that unloads the data.
No relevant data for instrument and timeframe -- open the correct charts.
Uncorrected entry in the code:
Correct:
The code works if the conditions are met.
No relevant data for instrument and timeframe -- open the correct charts.
Incorrect entry in the code:
Correct:
As long as the conditions are met, the code works.
ONLY it is NOT clear how to insert iHigh and iLow for a specific hour, the same hour = 5; ??????????? it turns out the same eggs again...
PROFESSIONALLY I was using iClose iHigh iLow, but I forgot how the code was written for this variant... I remember the principle, but I forgot the details.
please help me understand how to do it???????????????????
You can draw hourly timeframe bars on hourly charts and below without taking prices from another timeframe. Linking with iHigh etc is not very useful as it slows down the indicator and needs to bump the other timeframe.
If it is possible to do everything on a single timeframe, that is preferable.
And how do you practically draw lines with hourly data on a smaller timeframe? It goes something like this.