Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I am trying to make 2 indicators in to 1 indicator so i can get an alert/drawing when both indicators do what they need to do.
I need an alert when the RSI crosses a certain level (i managed to get this working).
Now i would like to include an MA cross over to this indicator.
So the sell alert would be needed when for example RSI crosses below XX (RSI level) AND fast MA crosses below slow MA.
Or when RSI crosses over XX (RSI level) AND fast MA crosses over slow MA.
As you can see in this screenshot, the modified RSI is working fine and the alerts are showing at the correct crossing.
What i need to include is the MA cross. So far this is the code i got:
However as you can see in the screenshot below, the required MA is shown in the indicator window and not at the chart itself. The purple line should be the slow MA and the yellow line should be the fast MA.
Any help would be appreciated.
Since i have almost 0 coding experience i am glad i made it this far, however it would be extremely helpful if someone could explain me that last bit, i know i could get a programmer to do this for me in probably a few minutes, however i would like to understand this code myself so i can make some changes in the future if required.
Thanks in advance!
Can you help answer these questions from other members on NexusFi?
This is the original code from the modified RSI indicator which gives an alert when the RSI crosses a certain level.
So this one is working as i want it to, now i would like to add an MA cross to this (for example for the buy signal fast MA over slow MA), so i get an alert once both indicators are giving a predefined alert so i get just 1 alert/drawing instead of 2.
If this isn't possible a way to combine 2 alerts in to one would also be helpful.
So instead of receiving 2 alerts (1 if the RSI crosses over a certain level and 1 when MA crosses), i would like to get just one alert when both conditions are met.
you can not combine alerts from separate studies into just one alert. To achieve that you will have to combine both into one code. The built-in Mov_Avg_Crossover should get you going and you can use parts from it and add them to your code.