《股票-同花顺红买绿卖多空买卖指标公式.docx》由会员分享,可在线阅读,更多相关《股票-同花顺红买绿卖多空买卖指标公式.docx(7页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、同花顺红买绿卖多空买卖指标公式VAR4:=VAR2/VAR1*100-70;VAR5:=(CLOSE-LLV(LOW,60)/(HHV(HIGH,60)-LLV(LOW,60)*100;VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR7:=SMA(VAR3/VAR1*100,3,1);VAR8:=LLV(LOW,34);VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);VAR10:=IF(VAR9100,VAR9-100,0);VAR11:=HHV(HIGH,34);VAR12:=EMA(VAR6-VAR8)/(VAR11-VAR8)*100,13);VAR13:
2、=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);VAR14:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1)/INDEXC,8,1)*100-25;VAR15:=MA(Var14,3);VAR16:=REF(VAR15,1);STICKLINE(VAR12-VAR130,VAR12,VAR13,8,0),colorred;STICKLINE(VAR12-VAR130,VAR12,VAR13,8,0),colorgreen;生命线:=EMA(VAR13,5);STICKLIN
3、E(CROSS(VAR13,VAR12)ANDVAR1260,90,100,10,0),COLOR00ff00;绿灯亮卖:0,color00ff00;STICKLINE(CROSS(VAR12,VAR13)ANDVAR12VAR13ANDVAR1218,10,0,10,0),colorred;红灯亮买:0,colorred;Var21:=INDEXC;Var22:=MA(Var21,6);Var23:=MA(Var21,24);Var24:=MA(Var21,32);Var25:=MA(Var21,62);Var26:=MA(Var21,105);Var27:=Var25REF(Var25,1
4、)ANDVar26REF(Var26,1)ANDVar25Var26*0.98;Var28:=Var24Var22*1.11ANDVar23Var22*1.095;Var29:=Var22Var21*0.95;抄底一:=Var27ANDVar28ANDVar29ANDCLOSE/COST(8)=0.8ANDCLOSEOPEN;STICKLINE(抄底一,40,60,1,1),colorff00ff;Var2A:=CLOSE/MA(CLOSE,40)*100Var2B:=CLOSE/MA(CLOSE,60)*100Var2C:=HIGHLOW*1.051;Var2D:=Var2CANDCOUNT
5、(Var2C,5)Var2E:=Var2DAND(Var2AORVar2B);Var2F:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Var30:=(CLOSE-Var2F)/Var2F*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;Var31:=(CLOSE-REF(CLOSE,5)/CLOSE*100Var32:=WINNER(CLOSE);Var33:=EMA(INDEXC-MA(INDEXC,10)/INDEXC*100,14)-4.9;Var34:=(MA(VOL,5)-VOL)/CAPITAL*100Var35:=(
6、VOL-MA(VOL,21)/VOL*100;抄底二:=Var33ANDVar31ANDVar320.12ANDVar34ANDVar35STICKLINE(抄底二,40,60,3,1),coloryellow;Var36:=(REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)/5;Var37:=(REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)/5;Var38:=(REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,
7、5)+REF(CLOSE,6)+REF(CLOSE,7)/5;Var39:=(REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8)/5;Var3A:=(REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8)+REF(CLOSE,9)/5;BIAS3:=(CLOSE-MA(CLOSE,24)/MA(CLOSE,24)*100;抄底三:=(Var36/CLOSE1.112ORVar37/CLOSE1.123ORVar38/CLOSE1.135ORVar39/CLOSE1.14
8、5ORVar3A/CLOSE1.156)ANDBIAS3=-20ANDCOST(25)/CLOSE=1.5ANDCLOSEOPEN;DRAWTEXT(抄底三,40,注意),color0099ff;Var3B:=(CLOSE-MA(CLOSE,40)/MA(CLOSE,40)*100;抄底四:=FILTER(IF(CROSS(Var3B,-28),1,0),8);STICKLINE(CROSS(Var3B,-28),40,50,8,1),colorwhite;Var3C:=DMA(EMA(CLOSE,13),SUM(VOL,5)/2/CAPITAL);Var3D:=(CLOSE-Var3C)/Var3C*100;抄底五:=REF(Var3D,1)-35ANDVar3DREF(Var3D,1)ANDREF(Var3D,1)REF(Var3D,2)ANDVar3D-REF(Var3D,1)STICKLINE(抄底五,20,30,8,1),colorffcc66;Var3E:=100*WINNER(REF(CLOSE,1)*1.1)-100*WINNER(REF(CLOSE,1)*0.9);抄底六:=CLOSEOPEN*1.06ANDVar3ESTICKLINE(抄底六,10,20,8,1),colorblue;同花顺红买绿卖多空买卖指标公式实例图解:同花顺红买绿卖多空买卖指标公式