一箭双雕 通达信主图指标 源码 贴图
2020-09-08 10:10:00来源:本站整理浏览:411
一箭双雕 通达信主图指标 源码 贴图
MA8:MA(CLOSE,8),COLORWHITE,LINETHICK2;
MA20:MA(CLOSE,20),COLORMAGENTA,LINETHICK2;
VAR1:=IF(CLOSE>REF(CLOSE,1),VOL,0);
VAR2:=IF(CLOSE<REF(CLOSE,1),VOL,0);
VAR3:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR4:=EMA(VAR3,9);
VAR5:=(VAR3-VAR4)*2;
VAR6:=MA(CLOSE,60);
VAR7:=MA(CLOSE,3);
VAR8:=3*SMA((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*108,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*108,5,1),3,1);
VAR9:=13;
VAR10:=90;
{WWW.GPXIAZAI.COM}
VAR11:=BARSLAST(VAR8=LLV(VAR8,21));
VAR12:=CROSS(REF(VAR8,3),REF(VAR9,3)) AND (REF(CLOSE,3)<REF(MA8,3) AND REF(CLOSE,2)<REF(MA8,2) AND REF(CLOSE,1)<REF(MA8,1) OR (REF(CLOSE,1)<REF(MA20,1) AND REF(CLOSE,2)<REF(MA20,2) AND REF(CLOSE,3)<REF(MA20,3) AND CLOSE>=MA20 AND REF(MA20,3)/REF(CLOSE,3)-1<2.8/100) OR (REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE>REF(OPEN,1))) AND CLOSE>=MA8 AND (MA20/CLOSE-1>1.6/100 OR CLOSE>=MA20) AND (CLOSE>=OPEN OR CLOSE>=REF(CLOSE,1)) AND VAR8>=VAR9;
VAR13:=CROSS(REF(VAR8,2),REF(VAR9,2)) AND (REF(CLOSE,2)<REF(MA8,2) AND REF(CLOSE,1)<REF(MA8,1) OR (REF(CLOSE,1)<REF(MA20,1) AND REF(CLOSE,2)<REF(MA20,2) AND CLOSE>=MA20 AND REF(MA20,2)/REF(CLOSE,2)-1<3/100) OR (REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>=REF(OPEN,1))) AND CLOSE>=MA8 AND (MA20/CLOSE-1>2/100 OR CLOSE>=MA20) AND (CLOSE>=OPEN OR CLOSE>=REF(CLOSE,1)) AND (LOW>REF(CLOSE,1) OR CLOSE-REF(CLOSE,1)>HIGH-CLOSE OR CLOSE-OPEN>HIGH-CLOSE OR OPEN-LOW>HIGH-CLOSE OR CLOSE>=REF(CLOSE,1)) AND VAR8>=VAR9;
VAR14:=CROSS(VAR8,VAR9) OR (CROSS(REF(VAR8,1),REF(VAR9,1)) AND (REF(CLOSE,1)<REF(MA8,1) OR (REF(CLOSE,1)<REF(MA20,1) AND CLOSE>=MA20 AND REF(MA20,1)/REF(CLOSE,1)-1<1.6/100) OR (REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>REF(OPEN,1)))) AND CLOSE>=MA8 AND (MA20/CLOSE-1>2/100 OR CLOSE>MA20) AND (CLOSE>=OPEN OR CLOSE>=REF(CLOSE,1)) AND (LOW>REF(CLOSE,1) OR CLOSE-REF(CLOSE,1)>HIGH-CLOSE OR CLOSE-OPEN>HIGH-CLOSE OR CLOSE-LOW>HIGH-CLOSE OR CLOSE>=REF(CLOSE,1)) AND VAR8>=VAR9;
DRAWICON(VAR12 OR VAR13 OR VAR14,LOW*0.9999,1),COLORYELLOW;
DRAWICON(VAR12 OR VAR13 OR VAR14,LOW*0.99,5),COLORYELLOW;
DRAWICON(VAR12 OR VAR13 OR VAR14 AND VAR11>=4 AND VAR11<=10 AND (MA20/CLOSE-1>5/100 OR CLOSE>MA20) AND CLOSE-LOW>=HIGH-CLOSE,LOW*0.965,9),COLORYELLOW;
VAR15:=CROSS(VAR4,VAR3) AND VAR3>0.1;
VAR16:=COUNT(CROSS(VAR4,VAR3),BARSLAST(VAR4<=0));
VAR17:=CROSS(VAR4,VAR3) AND VAR4>0 AND COUNT(VAR16=2,60)=1;
VAR18:=BARSLAST(REF(CROSS(VAR4,VAR3),1));
VAR19:=REF(CLOSE,VAR18+1)<CLOSE AND VAR3<REF(VAR3,VAR18+1) AND CROSS(VAR4,VAR3);
VAR20:=MA(CLOSE,8);
VAR21:=CLOSE<MA20 AND COUNT(VAR19=1,21)>=1 AND VAR5<0;
VAR22:=COUNT(VAR21,21)=1;{WWW.GPXIAZAI.COM}
DRAWICON(CROSS(90,RSI.RSI1) AND CLOSE<=VAR7,HIGH*1.001,45),COLORGREEN;
DRAWICON(CROSS(VAR10,VAR8) AND CLOSE<=VAR20 OR (CROSS(REF(VAR10,1),REF(VAR8,1)) AND CLOSE<=VAR20 AND REF(CLOSE,1)>REF(VAR20,1)),HIGH*1.015,6),COLORGREEN;
DRAWICON(CROSS(VAR10,VAR8) AND CLOSE<=VAR20 OR (CROSS(REF(VAR10,1),REF(VAR8,1)) AND CLOSE<=VAR20 AND REF(CLOSE,1)>REF(VAR20,1)),HIGH*1.005,2),COLORGREEN;
VAR23:=HIGH-CLOSE<=CLOSE-OPEN;
VAR24:=CLOSE>=OPEN;
VAR25:=LOW>REF(CLOSE,1) AND REF(HIGH,1)<REF(CLOSE,2);
VAR26:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND REF(HIGH,1)<REF(CLOSE,3) AND REF(HIGH,2)<REF(CLOSE,3);
VAR27:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND REF(HIGH,1)<REF(CLOSE,4) AND REF(HIGH,2)<REF(CLOSE,4) AND REF(HIGH,3)<REF(CLOSE,4);
VAR28:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND REF(HIGH,1)<REF(CLOSE,5) AND REF(HIGH,2)<REF(CLOSE,5) AND REF(HIGH,3)<REF(CLOSE,5) AND REF(HIGH,4)<REF(CLOSE,5);
VAR29:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND REF(HIGH,1)<REF(CLOSE,6) AND REF(HIGH,2)<REF(CLOSE,6) AND REF(HIGH,3)<REF(CLOSE,6) AND REF(HIGH,4)<REF(CLOSE,6) AND REF(HIGH,5)<REF(CLOSE,6);
VAR30:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND REF(HIGH,1)<REF(CLOSE,7) AND REF(HIGH,2)<REF(CLOSE,7) AND REF(HIGH,3)<REF(CLOSE,7) AND REF(HIGH,4)<REF(CLOSE,7) AND REF(HIGH,5)<REF(CLOSE,7) AND REF(HIGH,6)<REF(CLOSE,7);
VAR31:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND REF(HIGH,1)<REF(CLOSE,8) AND REF(HIGH,2)<REF(CLOSE,8) AND REF(HIGH,3)<REF(CLOSE,8) AND REF(HIGH,4)<REF(CLOSE,8) AND REF(HIGH,5)<REF(CLOSE,8) AND REF(HIGH,6)<REF(CLOSE,8) AND REF(HIGH,7)<REF(CLOSE,8);
VAR32:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND LOW>REF(HIGH,8) AND REF(HIGH,1)<REF(CLOSE,9) AND REF(HIGH,2)<REF(CLOSE,9) AND REF(HIGH,3)<REF(CLOSE,9) AND REF(HIGH,4)<REF(CLOSE,9) AND REF(HIGH,5)<REF(CLOSE,9) AND REF(HIGH,6)<REF(CLOSE,9) AND REF(HIGH,7)<REF(CLOSE,9) AND REF(HIGH,8)<REF(CLOSE,9);
VAR33:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND LOW>REF(HIGH,8) AND LOW>REF(HIGH,9) AND REF(HIGH,1)<REF(CLOSE,10) AND REF(HIGH,2)<REF(CLOSE,10) AND REF(HIGH,3)<REF(CLOSE,10) AND REF(HIGH,4)<REF(CLOSE,10) AND REF(HIGH,5)<REF(CLOSE,10) AND REF(HIGH,6)<REF(CLOSE,10) AND REF(HIGH,7)<REF(CLOSE,10) AND REF(HIGH,8)<REF(CLOSE,10) AND REF(HIGH,9)<REF(CLOSE,10);
VAR34:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND LOW>REF(HIGH,8) AND LOW>REF(HIGH,9) AND LOW>REF(HIGH,10) AND REF(HIGH,1)<REF(CLOSE,11) AND REF(HIGH,2)<REF(CLOSE,11) AND REF(HIGH,3)<REF(CLOSE,11) AND REF(HIGH,4)<REF(CLOSE,11) AND REF(HIGH,5)<REF(CLOSE,11) AND REF(HIGH,6)<REF(CLOSE,11) AND REF(HIGH,7)<REF(CLOSE,11) AND REF(HIGH,8)<REF(CLOSE,11) AND REF(HIGH,9)<REF(CLOSE,11) AND REF(HIGH,10)<REF(CLOSE,11);
VAR35:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND LOW>REF(HIGH,8) AND LOW>REF(HIGH,9) AND LOW>REF(HIGH,10) AND LOW>REF(HIGH,11) AND REF(HIGH,1)<REF(CLOSE,12) AND REF(HIGH,2)<REF(CLOSE,12) AND REF(HIGH,3)<REF(CLOSE,12) AND REF(HIGH,4)<REF(CLOSE,12) AND REF(HIGH,5)<REF(CLOSE,12) AND REF(HIGH,6)<REF(CLOSE,12) AND REF(HIGH,7)<REF(CLOSE,12) AND REF(HIGH,8)<REF(CLOSE,12) AND REF(HIGH,9)<REF(CLOSE,12) AND REF(HIGH,10)<REF(CLOSE,12) AND REF(HIGH,11)<REF(CLOSE,12);
VAR36:=BARSLAST(CLOSE<REF(LOW,1));
VAR37:=HHV(HIGH,VAR36+1);
VAR38:=LOW>VAR37;
DRAWICON(VAR25 OR VAR26 OR VAR27 OR VAR28 OR VAR29 OR VAR30 OR VAR31 OR VAR32 OR VAR33 OR VAR34 OR VAR35 AND VAR24,LOW*0.99,1);
DRAWICON(VAR25 OR VAR26 OR VAR27 OR VAR28 OR VAR29 OR VAR30 OR VAR31 OR VAR32 OR VAR33 OR VAR34 OR VAR35 AND VAR24,LOW*0.97,25);
DRAWTEXT(VAR25 OR VAR26 OR VAR27 OR VAR28 OR VAR29 OR VAR30 OR VAR31 OR VAR32 OR VAR33 OR VAR34 OR VAR35 AND VAR24,LOW*0.95,1),COLORYELLOW;
DRAWNUMBER(VAR25 OR VAR26 OR VAR27 OR VAR28 OR VAR29 OR VAR30 OR VAR31 OR VAR32 OR VAR33 OR VAR34 OR VAR35 AND VAR24,LOW*0.9,REF(CLOSE,1)),LINETHICK9;
VAR39:=HIGH<REF(CLOSE,1) AND REF(LOW,1)>REF(CLOSE,2);
VAR40:=HIGH<REF(CLOSE,1) AND HIGH<REF(LOW,2) AND REF(LOW,1)>REF(CLOSE,3) AND REF(LOW,2)>REF(CLOSE,3);
VAR41:=HIGH<REF(CLOSE,1) AND HIGH<REF(LOW,2) AND HIGH<REF(LOW,3) AND REF(LOW,1)>REF(CLOSE,4) AND REF(LOW,2)>REF(CLOSE,4) AND REF(LOW,3)>REF(CLOSE,4);
VAR42:=HIGH<REF(CLOSE,1) AND HIGH<REF(LOW,2) AND HIGH<REF(LOW,3) AND HIGH<REF(LOW,4) AND REF(LOW,1)>REF(CLOSE,5) AND REF(LOW,2)>REF(CLOSE,5) AND REF(LOW,3)>REF(CLOSE,5) AND REF(LOW,4)>REF(CLOSE,5);
VAR43:=HIGH<REF(CLOSE,1) AND HIGH<REF(LOW,2) AND HIGH<REF(LOW,3) AND HIGH<REF(LOW,4) AND HIGH<REF(LOW,5) AND REF(LOW,1)>REF(CLOSE,6) AND REF(LOW,2)>REF(CLOSE,6) AND REF(LOW,3)>REF(CLOSE,6) AND REF(LOW,4)>REF(CLOSE,6) AND REF(LOW,5)>REF(CLOSE,6);
VAR44:=HIGH<REF(CLOSE,1) AND HIGH<REF(LOW,2) AND HIGH<REF(LOW,3) AND HIGH<REF(LOW,4) AND HIGH<REF(LOW,5) AND HIGH<REF(LOW,6) AND REF(LOW,1)>REF(CLOSE,7) AND REF(LOW,2)>REF(CLOSE,7) AND REF(LOW,3)>REF(CLOSE,7) AND REF(LOW,4)>REF(CLOSE,7) AND REF(LOW,5)>REF(CLOSE,7) AND REF(LOW,6)>REF(CLOSE,7);
VAR45:=HIGH<REF(CLOSE,1) AND HIGH<REF(LOW,2) AND HIGH<REF(LOW,3) AND HIGH<REF(LOW,4) AND HIGH<REF(LOW,5) AND HIGH<REF(LOW,6) AND HIGH<REF(LOW,7) AND REF(LOW,1)>REF(CLOSE,8) AND REF(LOW,2)>REF(CLOSE,8) AND REF(LOW,3)>REF(CLOSE,8) AND REF(LOW,4)>REF(CLOSE,8) AND REF(LOW,5)>REF(CLOSE,8) AND REF(LOW,6)>REF(CLOSE,8) AND REF(LOW,7)>REF(CLOSE,8);
DRAWICON(VAR39 OR VAR40 OR VAR41 OR VAR42 OR VAR43 OR VAR44 OR VAR45,HIGH*1.01,2);
DRAWICON(VAR39 OR VAR40 OR VAR41 OR VAR42 OR VAR43 OR VAR44 OR VAR45,HIGH*1.03,27);
DRAWTEXT(VAR39 OR VAR40 OR VAR41 OR VAR42 OR VAR43 OR VAR44 OR VAR45,HIGH*1.05,2),COLORGREEN;
DRAWNUMBER(VAR39 OR VAR40 OR VAR41 OR VAR42 OR VAR43 OR VAR44 OR VAR45,HIGH*1.07,REF(CLOSE,1)),LINETHICK9;
- 上一篇公式:飞龙 通达信主图指标 源码 贴图
- 下一篇公式:潜伏暴涨 通达信副图/选股指标 源码 贴图