Calculate Price to produce HMA cross?

post your indicators here

Moderator: moderators

mrlogik
rank: <50 posts
rank: <50 posts
Posts: 7
Joined: Sat Jun 03, 2006 6:11 am
Reputation: 0
Location: NY
Gender: Male
Contact:

Calculate Price to produce HMA cross?

Postby mrlogik » Mon Jun 23, 2008 1:42 pm

Hey guys. Great work here!

I'm working on a strategy that uses two HMA lines of different lengths.
What I'm trying to do now is create an indicator that finds the price value that would make the two HMA lines to cross each other.

Basically, on a bar by bar basis I want to plot a point where the price would have to go in order to have the faster HMA cross the slower HMA.

Unfortunately, my math is not as strong as it use to be so I have been unsuccessful. Does anyone know have a formula that can do this calculation for me?

I have attached an indicator with the function to calculate an HMA.

Thanks again.
Anthony
Attachments
HMA.ELD
HMA Indicator
(4.65 KiB) Downloaded 207 times

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

Return to “Tradestation indicators”