C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- MA6:MA(CLOSE,6),CoLor0000FF;
- MA18:MA(CLOSE,18),CoLor0096FF;
- MA30:MA(CLOSE,30),CoLor00FF99;
- MA60:MA(CLOSE,60),CoLorFF00FF;
- AAF:LLV(LOW,34),Linethick1,CoLorFFFFCC;
- BBF:MA(AAF,4),Linethick1,CoLor00FFFF;
- LC:=REF(CLOSE,1);
- RSI:=((SMA(MAX(CLOSE-LC,0),4.1,1))/(SMA(ABS(CLOSE-LC),4.1,1)))*(100);
- DRAWICON(CROSS(84,RSI),(HIGH)*(1.03),5),CoLor008000;
- DRAWICON(CROSS(RSI,11),(LOW)*(0.99),4),CoLorFF0000;
- VAR27:=REF(CLOSE,1);
- VAR28:=((SMA(MAX(CLOSE-VAR27,0),5.5,1))/(SMA(ABS(CLOSE-VAR27),6,1)))*(100);
- DRAWICON(IF(CROSS(76,VAR28),1,0),(HIGH)*(1.03),5),CoLor000080;
- DRAWTEXT(FILTER((EMA(CLOSE,60)-EMA(CLOSE,12)>0) AND ((EMA(CLOSE,12))/(LOW)>1.15),5),LOW,'☆'),Linethick7,CoLorFF00FF;
- VARA:=((AMOUNT)/(VOL))/(100);
- VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
- VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
- VARD:=DMA(VARB,(VOL)/(VARC));
- VARE:=((CLOSE-VARD)/(VARD))*(100);
- VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
- VARJ:=MA(VARE,20)+STD(VARE,20);
- BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
- AA:=SMA(VARF,3,1);
- SS:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>79);
- DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>SS),(HIGH)*(1.02),'☆'),Linethick7,CoLor008000;
- VAR1:=(ZIG(3,10)<REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1)>REF(ZIG(3,10),2));
- VAR2:=(ZIG(3,10)>REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1)<REF(ZIG(3,10),2));
- STICKLINE(VAR1,CLOSE,OPEN,8,0),Linethick2,CoLor00FFFF;
- STICKLINE(VAR1,CLOSE,OPEN,3,0),Linethick2,CoLor00FFFF;
- STICKLINE(VAR1,HIGH,LOW,1,0),Linethick2,CoLor00FFFF;
- STICKLINE(VAR2,CLOSE,OPEN,8,0),Linethick2,CoLorFF00FF;
- STICKLINE(VAR2,CLOSE,OPEN,3,0),Linethick2,CoLorFF00FF;
- STICKLINE(VAR2,HIGH,LOW,1,0),Linethick2,CoLorFF00FF;
-
-
-
-
- S:=(MA(VOL,5))/(MA(VOL,60));
- A:=MA(S,5);
- BIAS:=((CLOSE-MA(CLOSE,5))/(MA(CLOSE,5)))*(100);
- F:=MA(S,121);
- RSV:=((CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45)))*(100);
- K:=SMA(RSV,15,1);
- D:=SMA(K,15,1);
- J:=(3)*(K)-(2)*(D);
- LC1:=REF(CLOSE,1);
- RSI1:=((SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1)))*(100);
- DRAWTEXT(CROSS(84,RSI),HIGH,'→ 逃顶 '),CoLor00FFFF;
- DRAWTEXT(CROSS(RSI,11),LOW,'→ 低吸 '),CoLor0000FF;
- MID:=MA(CLOSE,26);
- UPPER:=MID+(2)*(STD(CLOSE,26));
- LOWER:=MID-(2)*(STD(CLOSE,26));
- S1:=IF((J<11) AND (BIAS>(-11)) AND CROSS(S,F) AND (S-F>0.01),2,0);
- DRAWTEXT((S1=2),LOW,'→关注 '),CoLor008000;
- DRAWICON(FILTER(CROSS(S,A) AND (A<0.5) AND (J<20),13),LOW,1),CoLorFFFFFF;