NexusFi: Find Your Edge


Home Menu

 





Requesting help using MC MA Ribbon indicator to define trend in a trading system


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one Big Mike with 1 posts (1 thanks)
    2. looks_two gpw797 with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 Dhaaland with 1 posts (0 thanks)
    1. trending_up 4,156 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

Requesting help using MC MA Ribbon indicator to define trend in a trading system

  #1 (permalink)
 gpw797 
Mesa, AZ
 
Posts: 55 since Oct 2010

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

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Build trailing stop for micro index(s)
Psychology and Money Management
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
 
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,399 since Jun 2009
Thanks Given: 33,175
Thanks Received: 101,541


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.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 
Dhaaland's Avatar
 Dhaaland 
Calgary Alberta
 
Experience: Beginner
Platform: ninja trader
Trading: Crude and E-mini financials
Posts: 29 since Feb 2017
Thanks Given: 70
Thanks Received: 9


Big Mike View Post
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.

Mike

To use this indicator as written, how do you use it and how accurate is it in practice? what specifically can it measure? the brief description seemed... well.... brief. Does it work better to have it not calculate the current bar on close or is there inherent lag which would mean it's more suited to longer term trends rather than short term? All sort of questions about this indicator. For three light patterns can these be interpreted as early indicator signals or should they be disregarded as a signal of indecision in the market trend? I'm just going to assume the 2x2 is a true indecision indicator.

Sorry to be a thread necromancer...... But I'm pretty sure I'm going to be raising a few zombies around here with all of my questions ...... in search of..... Brains.
Ba-Dum tisssssss.
LOL.


Daryl Haaland

just a little pilot fish trying to pick up the leftovers from the sharks.
Reply With Quote




Last Updated on February 8, 2017


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts