原理解析:
VAR1赋值:((收盘价 - 15日内最低价的最低值)/(15日内最高价的最高值 - 15日内最低价的最低值))*(100)
VAR2赋值:VAR1的相反数
VAR3赋值:VAR1的5日[1日权重]移动平均
K赋值:VAR3的3日[1日权重]移动平均
D赋值:K的3日[1日权重]移动平均
SJTJ赋值:日期=D)ANDSJTJ时,在K和D位置之间画柱状线,宽度为6,0不为0则画空心柱.,COLOR0000A8
当满足条件(K>=D)ANDSJTJ时,在K和D位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR0000C0
当满足条件(K>=D)ANDSJTJ时,在K和D位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR0000E0
当满足条件(K>=D)ANDSJTJ时,在K和D位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR0000F0
当满足条件(K>=D)ANDSJTJ时,在K和D位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLOR0000D0
当满足条件(K>=D)ANDSJTJ时,在K和D位置之间画柱状线,宽度为1,0不为0则画空心柱.,COLOR8080FF
当满足条件(K= D) AND SJTJ,K,D,6,0),COLOR0000A8;
STICKLINE((K >= D) AND SJTJ,K,D,5,0),COLOR0000C0;
STICKLINE((K >= D) AND SJTJ,K,D,4,0),COLOR0000E0;
STICKLINE((K >= D) AND SJTJ,K,D,3,0),COLOR0000F0;
STICKLINE((K >= D) AND SJTJ,K,D,2,0),COLOR0000D0;
STICKLINE((K >= D) AND SJTJ,K,D,1,0),COLOR8080FF;
STICKLINE((K O,0.01,0.9,0,' WWW. '),COLORRED;
DRAWTEXT_FIX(C> O,1,1,0,'交易策略'),COLORRED;