C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {主图源码}
-
- {愿赌服输BS}
- MA5:MA(C,5);
- MA10:MA(C,10);
- MA20:MA(C,20);
- VAR1:=(CLOSE+HIGH+LOW)/3;
- VAR2:=EMA(VAR1,10);
- VAR3:=REF(VAR2,1);
- STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.8,0),COLOR000088;
- STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.6,0),COLOR000099;
- STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.4,0),COLOR0000AA;
- STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.2,0),COLOR0000BB;
- STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.0,0),COLOR0000CC;
- STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.8,0),COLOR0000DD;
- STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.5,0),COLOR0000EE;
- STICKLINE((VAR2>VAR3),CLOSE,OPEN,1,0),COLOR0000FF;
- STICKLINE((VAR2>VAR3),LOW,HIGH,0.0,0),COLOR0000FF;
- STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.8,0),COLOR888800;
- STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.6,0),COLOR999900;
- STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.4,0),COLORAAAA00;
- STICKLINE((VAR3>VAR2),CLOSE,OPEN,2,2),COLORBBBB00;
- STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.0,0),COLORCCCC00;
- STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.8,0),COLORDDDD00;
- STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.5,0),COLOREEEE00;
- STICKLINE((VAR3>VAR2),CLOSE,OPEN,1,0),COLORFFFF00;
- STICKLINE((VAR3>VAR2),LOW,HIGH,0.0,0),COLORFFFF00;
- STICKLINE((OPEN>CLOSE),CLOSE,OPEN,0,0),COLORFFFF00;
- STICKLINE((OPEN<CLOSE),CLOSE,OPEN,0,0),COLORRED;
- C4:=CROSS(VAR2,VAR3);
- C5:=CROSS(VAR3,VAR2);
- DRAWICON(C4,LOW-0.2,7);
- DRAWICON(C5,HIGH+0.2,8);
- A1AA:=9;
- A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
- DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.03),'小心变盘'),COLORFFFFFF;
- DRAWTEXT(CROSS(83,RSI),H*1.04,' 逃顶')COLORYELLOW;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {愿赌服输副图源码}
- VAR1:=(CLOSE+HIGH+LOW)/3;
- VAR2:=EMA(VAR1,10);
- VAR3:=REF(VAR2,1);
- 绿探底震仓:IF(VAR2,10,DRAWNULL),COLORGREEN,LINETHICK9;
- 红买: IF(VAR2>VAR3,10,DRAWNULL), COLORRED,LINETHICK9;
- 蓝卖: IF(VAR2<VAR3,10,DRAWNULL),COLORFFFF00,LINETHICK9;
- RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- 上穿买:SMA(RSV,3,1),COLORRED;
- 下穿卖:SMA(上穿买,3,1),COLORFFFF00;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {愿赌服输波段}
- VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
- VAR3:=SMA(VAR0,3,1);
- VAR1:=SMA(VAR3,4,1)-10;
- VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
- VAR5:=SMA(VAR4,3,1);
- VAR2:=SMA(VAR5,4,1)-90;
- STICKLINE(REF(VAR1,1)<VAR1,VAR1,REF(VAR1,1),10,0),COLOR0000FF;
- 0, CIRCLEDOT;
- STICKLINE(REF(VAR1,1)>VAR1,VAR1,REF(VAR1,1),5,0),COLOR00FF00;
- STICKLINE(REF(VAR2,1)>VAR2,VAR2,REF(VAR2,1),10,0),COLOR0000FF;
- STICKLINE(REF(VAR2,1)<VAR2,VAR2,REF(VAR2,1),5,0),COLOR00FF00;
- 0,COLOR0000FF;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {有人要求的B点选股源码}
- {信号出现请仔细确认其有效性}
- VAR1:=(CLOSE+HIGH+LOW)/3;
- VAR2:=EMA(VAR1,10);
- VAR3:=REF(VAR2,1);
- 选股:CROSS(VAR2,VAR3);