Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 789
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
Hi all! Dear comrades, help with the following question. Standard indicator + MA indicator (only lowered to the basement). How to take the indications of MA indicator lowered into the basement? If we use a standard МА indicator, we apply a price from 0 to 6, but if we descend to the basement, we set "apply to" to 8. I suppose that we should change the MA indicator itself (but I don't know what to change there) and then use iCustom function.
I would be grateful for your help.
Good people!!!
Help me find a bug.I'm learning about Arrays.
I created an array in a include file.
I put a reference to the include file in my Expert Advisor.
I can't understand why.
In the file location link error codes
http://clip2net.com/s/jkTd89
Thank you.
Good people!!!
Help me find a bug.I'm learning about Arrays.
I created an array in a include file.
I put a reference to the include file in my Expert Advisor.
I can't understand why.
In the file location link error codes
http://clip2net.com/s/jkTd89
Thank you.
Suspicious path. ../Programm Files/... Actually all files should be located in path like C:\Users\***\AppData\Roaming\MetaQuotes\Terminal\******************\MQL4\Include
You can actually run the terminal in portable ;)
Can you please tell me how to make the indicator data display as candlesticks or just vertical bars like here:
It's not clearin the code itself how to do this! The DRAW_HISTOGRAM style just draws a vertical line on each bar from the bottom border of the window, but not a candlestick.
Can you tell me how to make the indicator data display as candlesticks or just vertical bars like here:
It's not clearin the code itself how to do this! The DRAW_HISTOGRAM style just draws a vertical line on each bar from the bottom border of the window, but not a candlestick.
Can you tell me how to make the indicator data display as candlesticks or just vertical bars like here:
It's not clearin the code itself how to do this! The DRAW_HISTOGRAM style just draws a vertical line on each bar from the bottom border of the window, but not a candlestick.
If you understand how the Heiken Ashi indicator is set up (the terminal comes with it), you will understand everything.
The built-in Heiken Ashi looks a bit underdeveloped (I wonder if it's just me on the 745?), but it's clear how it works. And it is unclear how WmiFor is built!
In the Heiken Ashi code a candle is drawn from 4 bar histograms:
That is, as the buffer number increases (from 0 to 3), new bars are drawn on top of the old ones. The order is as follows:
LowHigh - HighLow - Open - Close.
The order of candlesticks should be the following for them to look as they should be, with their bodies and tails:
max(Open,Close)//thick colour line// - min(Open,Close)//thick white// - High//thick colour line// - Low//thick white//.
Let's compile the indicator, put it on the chart, and see all the problems (see picture).
But this method, like Heiken Ashi, has a disadvantage - under each "candle" we get a white loop in the background colour that covers everything lower. But with WmiFor everything is perfect! Undocumented features?
First picture - Heiken Ashi (placed in a separate window), second picture - WmiFor, background is in light green for clarity.
The question has not been dismissed. So, first of all.
A maximum is found, then a line is plotted against it. The distance between this maximum line and the current minimum is checked. If it exceeds "Rmax", an arrow is set on the bar where the maximum is found. The arrow is placed but not there. To make it clear, I added the buffer "BufferLow[i]" that shows the difference and its data can be seen in the explorer window.
That's the way it always is. You can't wait for snow in winter) I did it myself.
If anyone was tormented by such a similar idea, here's the code: