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,776 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #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?
Five Days Until the Gap Dies -- CME Goes 24/7 on All Dig …
Traders Hideout
More Than Capable: Hegseths War Warning Validates $114M …
Prediction Markets & Event Contracts
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
CFTC Approves First US Bitcoin Perpetual Futures -- Kals …
Traders Hideout
SEC Chairman Calls for New Golden Age of SEC-CFTC Regula …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
5 thanks
  #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


© 2026 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 - Downloads - Top
no new posts