x:=(3*C+L+O+H)/6;
A0X:=REF(EMA(C,14),1);A1X:=(EMA(C,10)-A0X)/A0X*100;A2X:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1));多空线:=(20*x+19*REF(x,1)+18*REF(x,2)+17*REF(x,3)+16*REF(x,4)+15*REF(x,5)+14*REF(x,6)+13*REF(x,7)+12*REF(x,8)+11*REF(x,9)+10*REF(x,10)+9*REF(x,11)+8*REF(x,12)+7*REF(x,13)+6*REF(x,14)+5*REF(x,15)+4*REF(x,16)+3*REF(x,17)+2*REF(x,18)+REF(x,20))/210,coloryellow;持币:=HHV(MA(MA((LOW+HIGH+CLOSE)/3,4),3*1),2);持股:=LLV(MA(MA((LOW+HIGH+CLOSE)/3,4),3*1),1);上线止赢:HHV(MA(SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1),1),13),coloryellow,LINETHICK2;下线止损:IF(LLV(MA(SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1),8),3)<SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1),LLV(MA(SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1),8),3),SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1)),LINETHICK2,colorgreen;FILLRGN(多空线,A2X,多空线>=REF(A2X,1),RGB(250,50,50))AND FILLRGN(多空线,A2X,多空线<REF(A2X,1),RGB(50,50,255));FILLRGN(SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1),MA(SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1),3),SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1)>MA(SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1),3),RGB(255,200,0),SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1)<MA(SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1),3),RGB(0,255,0));MVAR6:=REF(LOW,1)*0.9;MVAR7:=LOW*0.9;MVAR10:=(MVAR7*VOL+MVAR6*(CAPITAL-VOL))/CAPITAL;MVAR11:=EMA(MVAR10,30);MVAR12:=CLOSE-REF(CLOSE,1);MVAR13:=MAX(MVAR12,0);MVAR14:=ABS(MVAR12);MVAR15:=SMA(MVAR13,7,1)/SMA(MVAR14,7,1)*100;MVAR16:=SMA(MVAR13,13,1)/SMA(MVAR14,13,1)*100;//{www.gUPaNg.com 股旁网_同花顺股票指标公式}MVAR17:=BARSCOUNT(CLOSE);MVAR18:=SMA(MAX(MVAR12,0),6,1)/SMA(ABS(MVAR12),6,1)*100;MVAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;MVAR20:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;MVAR21:=SMA((SMA(MVAR20,4,1)-50)*2,3,1);MVAR22:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;MVAR23:=SMA(MVAR22,4,1);MVAR24:=SMA(MVAR23,3,1);MVAR25:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;打压建仓:=MVAR18<=25 AND MVAR19<-95 AND MVAR25>20 AND MVAR21<-30 AND MVAR24<30 AND MVAR11-CLOSE>=-0.25 AND MVAR15<22 AND MVAR16<28 AND MVAR17>50,colorred ;MVAR31:=REF(C,2)*0.865;MVAR32:=REF(C,13)*0.772;MVAR33:=100*VOL/CAPITAL;抄底:=IF((C-MIN(MVAR31,MVAR32))/C<0.1 AND SUM(MVAR33,5)/5<1.8,-5, 0),Color00FF00;MVAR34:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;抛压:=CROSS(84,MVAR34),colorgreen;MVAR35:=100-3*SMA((CLOSE-LLV(LOW,66))/(HHV(HIGH,66)-LLV(LOW,66))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,66))/(HHV(HIGH,66)-LLV(LOW,66))*100,20,1),15,1);MVAR36:=100-3*SMA((OPEN-LLV(LOW,66))/(HHV(HIGH,66)-LLV(LOW,66))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,66))/(HHV(HIGH,66)-LLV(LOW,66))*100,20,1),15,1);MVAR37:=MVAR35<REF(MVAR36,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);大资金:=(MVAR37 AND COUNT(MVAR37,30)=1),colorred;MVAR38:=AMOUNT/VOL/1000;MVAR39:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;MVAR40:=SUM(AMOUNT,13)/MVAR38/1000;MVAR41:=DMA(MVAR39,VOL/MVAR40);MVAR42:=(CLOSE-MVAR41)/MVAR41*1000;极低:=(CROSS(MVAR42,-166)),colorcyan;MVAR43:=((AMOUNT)/(VOL))/(100);MVAR44:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);MVAR45:=((SUM(AMOUNT,7))/(MVAR43))/(100);MVAR46:=DMA(MVAR44,(VOL)/(MVAR45));MVAR47:=((CLOSE-MVAR46)/(MVAR46))*(100);MVAR48:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);MVAR49:=MA(MVAR47,20)+STD(MVAR47,20);MVAR50:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);MVAR51:=SMA(MVAR48,3,1);风险:=(REF(MVAR50,1)>=5 AND CROSS(MVAR49,MVAR47) AND MVAR51>79),colorgreen;DRAWTEXT(打压建仓 ,L*0.97,'打'),colorred;DRAWTEXT((抛压=1),H*1.01,'抛压'),colorgreen;DRAWTEXT(CROSS(MVAR42,-166),L*0.998,'低买'),colorcyan;DRAWTEXT(REF(MVAR50,1)>=5 AND CROSS(MVAR49,MVAR47) AND MVAR51>79,H*1.02,'风险'),coloryellow;DRAWTEXT(抄底 ,L,'短'),colorgreen;DRAWTEXT(抄底 ,L*0.98,'底'),colorgreen;DRAWTEXT((大资金=1),L,'大资金'),coloryellow;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),COLOR000084;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0),COLOR000095;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0),COLOR0000A2;STICKLINE(CLOSE<OPEN,CLOSE,OPEN,8,0),COLOR007700;STICKLINE(CLOSE<OPEN,CLOSE,OPEN,7,0),COLOR008E00;STICKLINE(CLOSE<OPEN,CLOSE,OPEN,6,0),COLOR009900;红色持股;STICKLINE(C>持股 AND C>A2X,C,O,5,0),COLOR0000B3;STICKLINE(C>持股 AND C>A2X,C,O,4,0),COLOR0000C8;STICKLINE(C>持股 AND C>A2X,C,O,3,0),COLOR0000D7;STICKLINE(C>持股 AND C>A2X,C,O,2,0),COLOR0000EA;STICKLINE(C>持股 AND C>A2X,H,L,1,0),COLOR0000FF;绿色持币;STICKLINE(C<持股 AND C<A2X,C,O,5,0),COLOR00A600;STICKLINE(C<持股 AND C<A2X,C,O,4,0),COLOR00B500;STICKLINE(C<持股 AND C<A2X,C,O,3,0),COLOR00C600;STICKLINE(C<持股 AND C<A2X,C,O,2,0),COLOR00D500;STICKLINE(C<持股 AND C<A2X,H,L,1,0),COLOR00E600;粉红色反弹;STICKLINE(C>持股 AND C<A2X,CLOSE,OPEN,5,0) ,COLORFF66FF;STICKLINE(C>持股 AND C<A2X,CLOSE,OPEN,4,0) ,COLORFF88FF;STICKLINE(C>持股 AND C<A2X,CLOSE,OPEN,3,0) ,COLORFF99FF;STICKLINE(C>持股 AND C<A2X,CLOSE,OPEN,2,0) ,COLORFFAAFF;STICKLINE(C>持股 AND C<A2X,H,L,1,0) ,COLORFFBBFF;黄色洗盘;STICKLINE(C<持股 AND C>A2X,C,O,5,0),COLOR00BBFF;STICKLINE(C<持股 AND C>A2X,C,O,4,0),COLOR00CCFF;STICKLINE(C<持股 AND C>A2X,C,O,3,0),COLOR00DDFF;STICKLINE(C<持股 AND C>A2X,C,O,2,0),COLOR00EEFF;STICKLINE(C<持股 AND C>A2X,H,L,1,0),COLOR00FFFF;MVAR61:=BARSLAST(CROSS((MA((HIGH + LOW) / 5,4)) - (MA((HIGH + LOW) / 5,34)),0));MVAR62:=BARSLAST(CROSS(0,(MA((HIGH + LOW) / 5,4)) - (MA((HIGH + LOW) / 5,34))));MVAR63:=BARSLAST(REF(CROSS((MA((HIGH + LOW) / 5,4)) - (MA((HIGH + LOW) / 5,34)),0),1));MVAR64:=BARSLAST(REF(CROSS(0,(MA((HIGH + LOW) / 5,4)) - (MA((HIGH + LOW) / 5,34))),1));MVAR65:=IF((MVAR63 < MVAR64),(REF((HHV(HIGH,2)),MVAR63)),(REF((LLV(LOW,2)),MVAR64)));MVAR66:=(((REF(CLOSE,1)) <= (REF(MVAR65,1))) AND (CLOSE > MVAR65)) AND (MVAR61 <MVAR62);MVAR67:=(((REF(CLOSE,1)) >= (REF(MVAR65,1))) AND (CLOSE < MVAR65)) AND (MVAR62< MVAR61);MVAR68:=MVAR66 AND ((COUNT(MVAR66,MVAR61)) = 1);MVAR69:=MVAR67 AND ((COUNT(MVAR67,MVAR62)) = 1);MVAR70:=MVAR68 AND ((REF(BARSLAST(MVAR69),1)) < (REF(BARSLAST(MVAR68),1)));DRAWTEXT(MVAR70,A2X,'←═╬∝●'),coloryellow;MVAR71:=BARSCOUNT(C);MVAR72:=HHV(H,200);MVAR73:=LLV(L,200);MVAR74:=(MVAR72-MVAR73)/40;MVAR75:=L-MVAR74;DRAWTEXT((MVAR71+0)/34=FLOOR((MVAR71+0)/34),L,'●'),colorwhite;DRAWTEXT((MVAR71+0)/34=FLOOR((MVAR71+0)/34),MVAR75-1*MVAR74,'时间窗'),colorwhite;STICKLINE(抛压,OPEN,C,8,0),COLORFF0044;STICKLINE(抛压,OPEN,C,7,0),COLORff0055;STICKLINE(抛压,OPEN ,C,6,0),COLORff0066;STICKLINE(抛压,OPEN,C,5,0),COLORff0077;STICKLINE(抛压,OPEN,C,4,0),COLORFF0088;STICKLINE(抛压,OPEN,C,3,0),COLORff0099;STICKLINE(抛压,OPEN,C,2,0),COLORff00aa;STICKLINE(抛压,OPEN,C,1,0),COLORff00bb;STICKLINE(大资金,OPEN,C,11,0),COLOR106FFF;STICKLINE(大资金,OPEN,C,10,0),COLOR000095;STICKLINE(大资金,OPEN,C,9,0),COLOR00AAFF;STICKLINE(大资金,OPEN ,C,7,0),COLOR00BBFF;STICKLINE(大资金,OPEN,C,5,0),COLOR00CCFF;STICKLINE(大资金,OPEN,C,3,0),COLOR00DDFF;STICKLINE(大资金,OPEN,C,2,0),COLOR00EEFF;STICKLINE(大资金,OPEN,C,1,0),COLOR00FFFF;股票公式结合软件的应用属于进阶阶段的股票学了,我们整理网上提出的同花顺精品天狼主图指标公式的问题一些解决方案仅供辅助你学习同花顺公式参考,具体内容可能需要具体解决或者找网上其他高手帮忙,也感谢文字和图片来源于股旁网的一些资源分享,帮助新手快速学习提高炒股技能。
声明:同花顺精品天狼主图指标公式的文字和图片来源于网络,版权归原作者所有,仅代表个人观点,于本站无关。
随便说说