Custom command that creates all Heikin-Ashi prices.
And since loops can be slow, you can optimize and set the amount of data you want it to process and output with [dataLimit].
Usage testample (set Price Chart Style to Heikin-Ashi):
-- 0 interval will use current interval, limiting processing to 10 candles local prices = CC_GetHeikinAshiPrices(0, 10) Plot(0, 'o', prices.heikinOpen, Blue) Plot(0, 'h', prices.heikinHigh, Red) Plot(0, 'l', prices.heikinLow, Green) Plot(0, 'c', prices.heikinClose, Purple)
Mandala Trading Competition Promotion Type: contest Expires: June 9, 2023Trading volume competition, win up to $10,000 USDT and bounties.
Earn Up to 200 BMEX Tokens Promotion Type: contest Expires: March 31, 202315 BMEX @ $20,000, 25 BMEX @ $50,000, 50 [email protected] $200,000, 100 BMEX @ $400,000, 200 BMEX @ $600,000 in monthly derivatives volume