Hi there dear friend. Can you code this indicator for MT4 using this formula?
Formula
The indicator consists of two lines - main line and signal line. The main line is calculated using the following formula:
KST=MOV(ROC1,AVG1)*W1 + MOV(ROC2,AVG2)*W2 + MOV(ROC3,AVG3)*W3 + MOV(ROC4,AVG4)*W4;
where ROC stands for 'Rate of change', MOV(ROC,AVG) stands for AVG period moving average for ROC, W stands for the weight.
ROC=(Price/Price(X1) - 1)*100;
where Price refers to current closing price and Price(X1) refers to the closing price of X1 bars ago.
The signal line is calculated using the following formula:
Signal=MOV(KST,AVG);
where MOV(KST,AVG) stands for AVG period moving average for KST.
BUT, instead of using SMA in MOV of main line, use VWMA (volume weighted moving averages). For the signal line you can leave the SMA.
Thanks!