molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Mon May 13, 2024 6:53 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Use HA values with custom indicators
PostPosted: Tue Dec 18, 2012 8:00 pm 
Offline

Joined: Thu Aug 23, 2012 2:00 pm
Posts: 49
Ahoy...

Can any of you guys tell me how I can recalculate a custom indicator of mine to use HA values instead of the standard Close values...?

I understand the (O+H+L+C)/4 story.... but if I have a custom indicator with quite a complex formula behind it... how can I instruct it to use the HA value instead of the normal Close value....

I'm hoping there is going to be a simple answer to this so that I don't have to re code the whole story...

Would appreciate any feed back...

Cheers..


Top
 Profile  
 
 Post subject: Re: Use HA values with custom indicators
PostPosted: Wed Dec 19, 2012 10:32 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
To use HA the indicator needs to have the price used in the calculation as an input. i.e. when you try to use the ma indicator, an input is the price. You need to check the indicator - if it does not have the price as an input you need to modify the indicator's code


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009