I would really appreciate if anyone could help me translate these 5 lines of code to easy language
My code is in pinescript (tradingview's language), here is the link (please copy-paste): goo.gl/6E21Tc
What i want basically is to find a way calculate heikin ashi with something like the resolution function
since easylanguage has no heikin ashi functions to do that (that i am aware of?)
(The whole concept for this is to apply a higher time frame heikin-ashi into a lower timeframe chart as you see in tradingview)
( code for HA calculation: goo.gl/s5DmiA )
Any help is much much appreciated
Thanks in advance!!!!
unfortunately Multicharts doesn't allow to call a second timeframe via code, so you would have to add your second timeframe manually and you could use a heikin ashi bar type directly. Then your code can call the values of data 2.
The following user says Thank You to ABCTG for this post: