
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
Ok, that was what I suspected...so I'll try to combine it with another indicator!
Thank you very much for your help!
leMai
I have a new code I was working at, unfortunatelly I am not allowed to open another new topic, so I have to post it here.
I just try to make an average trough the value of the rsi(look in my code), the buffer appears in the window, but it is always only a straight line:
I don't understand why the first average(ind_buffer[]) workes for some time, but if I make a correction in my code, or if I change a value in the indicator again, it disappears. The second average(cross[]) I was talking about never works, so what can I do?
leMai
Hello
I am writing my first indicator and I want to show buy and sell signals with arrows. But somehow it doesn't work, is there anybody who can help me?
In this part of code I make a average of the Buffer0. When the direction of the Indicator changes, I want it to give a signal, but it doesn't work:
There aren't any error messages...but there are no arrows or alert!
leMai
Arrow codes are:
The codes you use (233 and 234) wouldn't show up.
So, now, in live, I have a new problem...offline the indicator shows the signlas in the right time, but when it's running online, there is even every finished minute a sell and a buy signal! this is my current code:
Maybe it would help to if it would only go into the direction loop(the now&last-loops) if the bar(in this case one minute) is finished and a new begins! but I don't know how to code it but maybe that isn't the fault!
Is there a possibility that the start-function only starts, if a new bar has began?
Can you help me?
Thanks for your help!
leMai
Maybe the problem is in this paragraph?
Thank you, now it works, I just had to change the i for the beginning of the loop. But why am I not allowed to open a nwe topic and what can I do?
leMai
Now I have a new problem, there are sometimes to many signals if it is running online...I have been triing to fix it for a long time, but I can't find a mistake...
Is there anybody who can help me?
Thanks
leMai
Now I am trying to write a EA for the first indicator I modified:
I tried diffrentthigs, but I have a few problems I didn't find a solution:
1. I included an "iMAOnArry", but as far as I know I can't use arrays in EA's, so how can I do the average?
2. How can I make the EA check the last closed bar and not the current changing?
I hope somebody can help me!
Thanks!
leMai