//------------------------------------------------------ // // Formula Name: Know Sure Thing (KST) // Author/Uploader: Trading Tuitions // E-mail: support@tradingtuitions.com // Website: www.tradingtuitions.com //------------------------------------------------------ _SECTION_BEGIN("Know Sure Thing (KST)"); SetChartOptions(0,chartShowArrows|chartShowDates); _N(Title = StrFormat("{{NAME}} – {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) )); Plot( Close, "Price", colorWhite, styleCandle ); RCMA1 = MA(ROC(C,10),10); RCMA2 = MA(ROC(C,15),10); RCMA3 = MA(ROC(C,20),10); RCMA4 = MA(ROC(C,30),15); KST = (RCMA1 * 1) + (RCMA2 * 2) + (RCMA3 * 3) + (RCMA4 * 4); KSTSignal = MA(KST,9); Plot( KST , "KST", colorWhite, styleLine | styleOwnScale ); Plot ( KSTSignal ,"KST Signal", colorBlue, styleLine | styleOwnScale ); _SECTION_END();