《股票-同花顺顶底K线指标公式.docx》由会员分享,可在线阅读,更多相关《股票-同花顺顶底K线指标公式.docx(3页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、同花顺顶底K线指标公式Var1:=REF(OPEN,1);Var2:=SMA(MAX(OPEN-Var1,0),6,1)/SMA(ABS(OPEN-Var1),6,1)*100;Var3:=REF(CLOSE,1);Var4:=SMA(MAX(CLOSE-Var3,0),6,1)/SMA(ABS(CLOSE-Var3),6,1)*100;Var5:=REF(HIGH,1);Var6:=SMA(MAX(HIGH-Var5,0),6,1)/SMA(ABS(HIGH-Var5),6,1)*100;Var7:=REF(LOW,1);Var8:=SMA(MAX(LOW-Var7,0),6,1)/SMA(
2、ABS(LOW-Var7),6,1)*100;STICKLINE(Var4STICKLINE(Var4Var2,Var2,Var4,5,0),colorred,;STICKLINE(Var4Var2ANDVar6Var8ANDVar8Var4,Var4,Var6,0.5,1),colorred,;V1:=STICKLINE(Var4Var2ANDVar6Var8ANDVar8V2:=STICKLINE(Var4Var2ANDVar6Var4,Var4,Var8,0.5,1),colorred,;V3:=STICKLINE(Var4Var2ANDVar6Var8ANDVar6V4:=STICKL
3、INE(Var4Var2ANDVar6Var8ANDVar6Var2,Var2,Var8,0.5,1),colorred,;v5:=STICKLINE(Var4Var2ANDVar6STICKLINE(Var4Var2ANDVar6Var2,Var2,Var6,0.5,1),colorred,;STICKLINE(Var4Var8ANDVar6v6:=STICKLINE(Var4V7:=STICKLINE(Var4Var4,Var4,Var8,0.5,1),colorgreen,;V8:=STICKLINE(Var4Var8ANDVar6V9:=STICKLINE(Var4Var8ANDVar
4、6Var4,Var2,Var8,0.5,1),colorgreen,;V10:=STICKLINE(Var4STICKLINE(Var4Var2,Var2,Var6,0.5,1),colorgreen,;RSI1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1),6,1)*100;RSI2:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1),12,1)*100;顶部线:80,colorwhite;底部线:20,colorblue;持仓:STICKLINE(RSI1RSI2,0,10,1,0),linethick2,colorred;空仓:STICKLINE(RSI1同花顺顶底K线指标公式实例图解:同花顺顶底K线指标公式