Forum

Heikin Ashi (better formula)

Can someone do this program? From an article made by BNP-Paribas it seems that we can have better representation with Heikin Ashi if we made the following modified Heikin-Ashi candlesticks as follows: a. haOpen, haHigh and haLow according to Dan Valcu formulas. b. haClose is calculated first

Corrected Moving average

Have someone can help with this indicator? I need to have the possibility to draw the sma...or not... Thanks Here's Tradestation Code: {Corrected Average (CA), A.Uhl, Oct. 25, 2005} vars: CA(0),SA(0),n(0), v1(0),v2(0),K(0); inputs: Price(Close),length(35); if CurrentBar=1 then CA=Price else begin if