For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

Start Plotting EMA from the very start of the Candlestick plot

  • I face a issue where I have two Moving Averages Calculated over the period of 8 and 21. The Plot for fast MA starts at 8th candle stick and the plot for Slow MA starts at 21st Candle stick. Now I need the plots for both the MA's to start from the very beginning ie FIrst candle stick. Is there a way to do that??

  • Moving average values at the very beginning are not defined by the moving average definition. Therefore nothing can be shown. If you want to show moving average value on particular bar, than you need to have 21 bar before this.

Log in to reply