my guess is that if you don't add a specific draw option the buffer autmaticly become a line.
try:
SetIndexStyle(x,DRAW_NONE);
for all the buffers you don't want to draw.
//z
zzuegg:
my guess is that if you don't add a specific draw option the buffer autmaticly become a line.
try:
for all the buffers you don't want to draw.
//z
Thank you very much zzueg - your solution worked.
Cheers
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
I have adapted a code to indicate crossovers of RSI and a moving average of RSI on the main chart window. However, I cannot figure out why all of the buffers are being displayed, rather than just the crossover signals. If you look at the attached image, you will see that all of the highs and lows have been connected and although not visible here, the RSI and MA are also being plotted on the main chart window.
I realise that I must be making some sort of basic error in the coding, but haven't a clue where.
I would be very grateful if somebody could explain my error and help me to resolve this issue.
Here is the code:
Thanks in advance....