[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] How to use entire formula



PureBytes Links

Trading Reference Links

Hi

Im a newbie on Amibroker and I downloaded the MACD Divergence indicator by Paul Moore (and dont know if this is the best one, anyone that of a better one - let me know :). The formula is quite long and it refers to function that I cannot access, for instance under Negative MACD Histogram divergence this formula is written:

//------------------------------------
// Negative MACD Histogram divergences
//------------------------------------

// Get arrays containing for each element, when the MACD-H highest values
// occur, within the specified number of bars
HistHighBars = HHVBars( HistInd, MACDDivMinWidth );

// Get array defining if the MACD-H previous bar was the maximum,
// AND if that MACD-H value was < 0 OR > 0
HistMaxCond = HistHighBars > 0
         AND BarsSincePosCross >=  HistHighBars
         AND Ref(HistHighBars,-1) == 0
         AND Ref(HistInd,-1) > 0
         ;

// Get array containing MACD-H high bar values where highs
// occured, all other bars filled with 0
HistHighVal = IIf( HistMaxCond, Ref(HistInd,-1), 0);


Now how can I use the described functions? I dont see them in the chart ive plotted (daily OMX30, a swedish index) and I cannot set any parameters to them under "parameters"... Like I said (and you probaly understand,  Im new to amibroker but I like it so far,  please help me out!

Best regards Carl Carlsson


__._,_.___

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___