Requesting help using MC MA Ribbon indicator to define trend in a trading system
Can anyone help me me with what is probably a newbie question. I want to add a trend filter to my trading system as a condition. I want to use the Multicharts MA Ribbon indicator (Mov Avg Exp Ribbon) that comes with MultiCharts and I want trend to be defined when the fastest MA crosses the slowest. How can I do this? TIA
A quick look at the code indicates it is using a single array "arr2" to hold the values of 8 moving averages. I would just take this Indicator code and convert it to a Function, then have that function return the array values to your Signal.
From the signal, just look at the minimum value and the maximum value, and look for the cross over.
You can open up existing Functions and see how they differ from Indicators. Mainly two differences: a) the input block keywords, and b) how they return values. Make those two adjustments, and delete the Plots(), and you now have your function. You can also open up example Signals and see how they call functions to get values.
Important: I am traveling and will not have access to email or private messages until after March 10th.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.