Forum

Oscillator Average always set's to 0 for certain values

Hi, Was hoping someone else could tell me why my oscillator has 0 values at the more recent index positions. The code essentially creates a bunch of RSI's of different periods. Then aims to create a multi length average. Yet for some reason the values plot to 0 in the more recent candles. I cannot

Create RSI Average Indicator - Average does not plot

Hi, Essentially I am using the following RSI periods: 10,14,21 Now I want to create three plots using the averages from the three periods as follows: Values of (10 + 14 + 21) / 3 (For example) Then take the average of this and add it to an array at position [i] This is all relatively straight

iCustom indicator does not load correctly

Hi, I have managed to load the custom indicator and it partly plots on the graph when using the strategy tester. However the actual curve line does not seem to plot for some reason. Below is the code: //+------------------------------------------------------------------+ //|

Script does not auto update SL as required

Hello, I am fairly new to script writing as a whole in this regard. Hence this may be some minor user error on my part. However the attached script is meant to auto update the SL of all my current open positions. However when using the predefined hotkey that I have assigned to it. The journal