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,195 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

  #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
Option : Call and Put increase at same time ?
The Elite Circle
What broker to use for trading palladium futures
Commodities
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
 
  #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
  #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