NexusFi: Find Your Edge


Home Menu

 





How to Reference MACD-1 and MACD-2 in the Same Chart


Discussion in EasyLanguage Programming

Updated
    1. trending_up 3,176 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

How to Reference MACD-1 and MACD-2 in the Same Chart

(login for full post details)
  #1 (permalink)
 a2trader 
Ann Arbor, MI, United States
 
Experience: Intermediate
Platform: MultiCharts
Broker: Progressive
Trading: NQ, QM, YM, CL
Posts: 23 since Jun 2012
Thanks Given: 13
Thanks Received: 2

I would like to build a strategy in MultiCharts that uses a MACD 2 minute crossover for an entry and a MACD 1 min crossover for an exit. Is there a way to reference MACD in two different time intervals in EasyLanguage / PowerLanguage?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Futures Close-Out Policy
Commodities
Request for MACD with option to use different MAs for fa …
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Looking for an MQL4 MetaTrader programmer/coder
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Daytrading ES & NQ
32 thanks
Battlestations: Show us your trading desks!
30 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Retail Trading As An Industry
25 thanks

(login for full post details)
  #3 (permalink)
Bimi
London
 
Posts: 118 since Mar 2010
Thanks Given: 42
Thanks Received: 58



a2trader View Post
I would like to build a strategy in MultiCharts that uses a MACD 2 minute crossover for an entry and a MACD 1 min crossover for an exit. Is there a way to reference MACD in two different time intervals in EasyLanguage / PowerLanguage?

you can build it with multiple macd in the same chart and same strategy.
use multi-data series.

Reply With Quote
(login for full post details)
  #4 (permalink)
 a2trader 
Ann Arbor, MI, United States
 
Experience: Intermediate
Platform: MultiCharts
Broker: Progressive
Trading: NQ, QM, YM, CL
Posts: 23 since Jun 2012
Thanks Given: 13
Thanks Received: 2

Here's the solution:

Fast = MACD(Close Data2, 12, 26) Data2;
Slow = XAverage(Fast, 9) Data2;

Started this thread Reply With Quote





Last Updated on July 21, 2013


© 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