MTF MACD Plot Scan


Category:
0
0

Hello,  I LOVE the MTF MACD indicator and wanted to know if it’s possible to create a plot scan for it.  I use it on the 1′ chart for scalping (5/15 and 15/30) and I would like to have a spike happen when the MACD crosses to the up or down.  Is that possible?

Thank you for all you do!

Carol

 

RESOLVED
Marked as spam
Posted by (Questions: 4, Answers: 5)
Asked on November 27, 2018 12:03 pm
221 views
0

It sounds like you are asking for a new signal to be added? I mean the study sets the color of the center line and histogram to show when things have aligned on all time frames. So here you seem to be asking for a signal when some portion of the MACD (value, average, diff) has crossed up or down? I need more details.

( at November 28, 2018 7:49 am)
0

If you look at an AMZN 1 min chart from today, I would like a signal that shows the cross at 9:55 for MTF/MACD and have it be plot scan where I can make it SPIKE; which is what I do with your stoch/macd which you can see on the panel just below the price window and the orange and green spikes at 11:10from the file I attached earlier .

Sorry – but I’m having trouble sending a picture of the amazon chart

( at November 28, 2018 12:46 pm)
0

https://prntscr.com/lo7ubn
is the screen shot

( at November 28, 2018 12:53 pm)
0
Private answer

Add these lines to the bottom of your code. You get to retain all the plots that come with the MTF MACD and this will add yellow up arrows at the points were green histogram crosses above zero.

def trigger = Diff > Diff[1] and midTermSignal == no and longTermSignal == no;
plot crossAbove = if trigger and diff[1] < 0 and diff > 0 then 0 else Double.NaN;
crossAbove.SetPaintingStrategy(PaintingStrategy.ARROW_UP);
crossAbove.SetDefaultColor(Color.YELLOW);
crossAbove.SetLineWeight(3);

 

Marked as spam
Posted by (Questions: 37, Answers: 4086)
Answered on November 29, 2018 8:10 am
0

Hello again Pete. Thanks very much for the arrow/plot. I also added code for a white arrow/plot to show a short opportunity.  Have a new question –  Is it possible to use the MTF MACD arrow/plot that you built and use it in a watchlist so that I can see when a yellow arrow triggers, but not have to look at each chart. I use the watchlist for the STOCH/MACD, TTM, etc and would like the MTF/MACD yellow arrow, too.   Thanks in advance. 

( at January 7, 2019 1:55 pm)
0

Hi Carol, This is something we should process as a custom project. You can review our rates and fill out the form here: https://www.hahn-tech.com/about/

( at January 7, 2019 2:09 pm)