当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是我用的几个精品指标(无源码的请下载附件导入)
1.操盘线 副图
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 判断:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8);
- VAR2:=1;
- VAR3:=REF(HIGH,1)*1.1;
- VAR4:=HIGH*1.1;
- VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;
- VAR6:=REF(LOW,1)*0.9;
- VAR7:=LOW*0.9;
- VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;
- VAR9:=EMA(VAR8,30);
- VARA:=EMA(VAR5,30);
- VARB:=VARA-2;
- VARC:=IF(CLOSE<=VAR9,VARB,VARA);
- VARD:=MA(CLOSE,80)-MA(CLOSE,10)/17;
- VARE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
- 卖出线: SMA(SMA(VARE,3,1),3,1),COLORFF6633;
- 买入线: 3*SMA(VARE,3,1)-2*卖出线,colorred;
- DRAWICON(CROSS(90,买入线),90,2);
- 黄金点: STICKLINE(SMA(VARE,3,1)>卖出线,SMA(VARE,3,1),卖出线,1,0),colorwhite ;
- -10;
2. 机构散户线(不能在公式框内写名字)副图
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- VAR1:=IF((CLOSE > OPEN),((CLOSE - OPEN) * VOL),IF((CLOSE < OPEN),((CLOSE - OPEN) * VOL),0));
- VAR2:=IF((CLOSE > REF(CLOSE,1)),((CLOSE - REF(CLOSE,1)) * VOL),IF((CLOSE < REF(CLOSE,1)),((CLOSE - REF(CLOSE,1)) * VOL),0));
- VAR3:=IF((OPEN > REF(CLOSE,1)),((OPEN - REF(CLOSE,1)) * VOL),IF((OPEN < REF(CLOSE,1)),((OPEN - REF(CLOSE,1)) * VOL),0));
- VAR4:=IF((CLOSE < OPEN),((OPEN - CLOSE) * VOL),IF((CLOSE > OPEN),((OPEN - CLOSE) * VOL),0));
- VAR5:=IF((CLOSE < REF(CLOSE,1)),((REF(CLOSE,1) - CLOSE) * VOL),IF((CLOSE > REF(CLOSE,1)),((REF(CLOSE,1) - CLOSE) * VOL),0));
- VAR6:=IF((OPEN < REF(CLOSE,1)),((REF(CLOSE,1)-OPEN) * VOL),IF((OPEN > REF(CLOSE,1)),((REF(CLOSE,1) - OPEN) * VOL),0));
- VAR7:=(CLOSE > OPEN);
- VAR8:=(CLOSE > REF(CLOSE,1));
- VAR9:=(OPEN > REF(CLOSE,1));
- VARA:=((VAR7 OR VAR8) OR VAR9);
- 机构:(SUM(((((VAR1 + VAR2) + VAR3) / 3) / CAPITAL),5) * 1000),coloryellow;
- 散户:(SUM(((((VAR4 + VAR5) + VAR6) / 3) / CAPITAL),10) * 1000),colorred;
- 系数:EMA((((((((COUNT(VAR8,12) / 12) + (COUNT(VAR7,12) / 12)) + (COUNT(VAR9,12) / 12)) / 3) * MA(机构,5)) * 2) *1.1),2),colorgreen;
3.主力动向 副图
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
- 主力控盘:2*3.8,colorred;
- 主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),colormagenta,LINETHICK2;
- 主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),colorred,POINTDOT;
- 主动卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
- STICKLINE(VOL>0,VOL,0,2,1),colorwhite;
- 平均成本线:COST(50),coloryellow,LINETHICK2;
- MA1:MA(CLOSE,5);
- MA2:MA(CLOSE,10);
- MA3:MA(CLOSE,20);
- DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,1) ;
- DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.01,2);
- STICKLINE(主动买盘>0,0,主动买盘,2,0),colorred;
- STICKLINE(主动卖盘<0,0,主动卖盘,2,0),COLOR00FF00;
4. 多空指标 主图
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- BBI:(MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,40)+MA(CLOSE,55))/4,colorred,LINETHICK2; BBI3:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,LINETHICK2
5.大道至简 主图
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 大道1:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,colorff99ff,linethick2;
- 大道2:(MA(C,1)+MA(C,3)+MA(C,6)+MA(C,9))/4,coloryellow,linethick1;
- 大道:EMA(大道1,10),color66ff00;
6、资金进出 副图
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 量:=VOL;
- 额:=AMOUNT/10000000;
- AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
- 主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
- 主卖:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
- 换手:VOL/CAPITAL*100;
- 流通盘:CAPITAL/1000000;
- 流入资金:MA(主买,4);
- 流出资金:MA((0-主卖),4);
- BB:=(主买+主卖);
- STICKLINE(流入资金>流出资金,流入资金,流出资金,1.6,0),colorred;
- STICKLINE(流入资金<流出资金,流出资金,流入资金,1.6,0),colorgreen;
7.主力扫描 副图
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- AVPRICE:=(((2)*(OPEN) + (2)*(CLOSE) + (2)*(HIGH) + (2)*(LOW))/(8));
- INDEXAVP:=(((2)*(INDEXH) + (2)*(INDEXL) + (2)*(INDEXO) + (2)*(INDEXC))/(8));
- F:=(AVPRICE - REF(AVPRICE,1))/(REF(AVPRICE,1));
- F1:=(INDEXAVP - REF(INDEXAVP,1))/(REF(INDEXAVP,1));
- 类比参数3:=(((SUM(F,10) + SUM(F1,10))/(10))*(1000));
- 类比大盘参数:=IF((类比参数3 > 0),类比参数3,0);
- 类比参数2:=IF((类比参数3 < 0),(-类比参数3),0);
- STICKLINE(类比参数2,150,150 - 类比参数2,11,0),Color008000;
- STICKLINE(类比大盘参数,150,150 - 类比大盘参数,11,0),ColorFF00FF;
- AA:=AVPRICE;
- BB:=((VOL)*((AA)*(2) - HIGH - LOW))/(HIGH - LOW);
- CC:=IF((HIGH = LOW) AND (AA < REF(AA,1)),((-1))*(VOL),VOL);
- A:=IF((HIGH = LOW),CC,BB);
- B:=SUM(A,11);
- BBD:=(((B)/((CAPITAL)*(11)))*(10000));
- BB1:=IF((BBD < 150) AND (BBD > (-150)),BBD,150);
- 买方能量指标:=IF((BB1 > 0),BB1,0);
- STICKLINE((BB1 > 0),0,买方能量指标,5,0),coloryellow;
- STICKLINE((BB1 < 0),0,(-BB1),5,0),Color008000;
- A16:=(SUM((AVPRICE)*(VOL),16))/(SUM(VOL,16));
- A11:=(SUM((AVPRICE)*(VOL),11))/(SUM(VOL,11));
- A6:=(SUM((AVPRICE)*(VOL),6))/(SUM(VOL,6));
- A7:=(SUM((AVPRICE)*(VOL),7) - (AVPRICE)*(VOL))/(SUM(VOL,7) - VOL);
- A0:=((A11 - A16)/(AVPRICE))*(1000);
- A00:=IF((A0 > 50),50,IF((A0 < (-50)),(-50),A0));
- A1:=((A6 - A11)/(AVPRICE))*(1000);
- AA11:=IF((A1 > 50),50,IF((A1 < (-50)),(-50),A1));
- A2:=((((A6 - A7)/(A7))*(5))/(4))*(1000);
- A22:=IF((A2 > 50),50,IF((A2 < (-50)),(-50),A2));
- 刻度线3:=(A00 + AA11 + A22);
- 趋势线:=IF((刻度线3 > 0),刻度线3,0);
- 兰刻度线:=IF((刻度线3 < 0),刻度线3,0);
- 红柱线:趋势线,ColorFFFF00;
- 兰柱线:(-兰刻度线),colorred;
- STICKLINE(趋势线,0,趋势线,3,0),colorred;
- STICKLINE(兰刻度线,0,(-兰刻度线),3,0),ColorFF0000;
- 强弱分界:50,Color000080;
上一篇:最简单的公式选股公式 下一篇:高成功率大智慧趋势预警--有测试图