同花顺岸边副图公式源码
-
相关简介:【岸边】是我四年前的作品。飞狐、分析家。大智慧1都有,就是没有通达信的 今天算是补全。 我只在理想用了真名。今天颁布同学用精品副图转发。说明他对此公式评价 很高。回贴没有它意,反而使贴去了加亮 。在此表示歉意!!! 原公式是双解盘,50输出只好去掉一个。大火箭用在长线。信号是在下跌时 就发出,要接合MACD和攀登图买进。小火箭更要注意价位、和攀登图 {股海网提供: www.guhai.com.cn } 的位置。高位要快进快出。 C/C++ Code 复制内容到剪贴板 {岸边TDX}
-
文章来源:择股网作者:股海网发布时间:2009-09-17浏览次数:
【岸边】是我四年前的作品。飞狐、分析家。大智慧1都有,就是没有通达信的
今天算是补全。
我只在理想用了真名。今天颁布同学用精品副图转发。说明他对此公式评价
很高。回贴没有它意,反而使贴去了加亮 。在此表示歉意!!!
原公式是双解盘,50输出只好去掉一个。大火箭用在长线。信号是在下跌时
就发出,要接合"MACD"和"攀登图"买进。小火箭更要注意价位、和"攀登图"
{股海网提供:www.guhai.com.cn}
的位置。高位要快进快出。
C/C++ Code复制内容到剪贴板
- {岸边 TDX}
- {N=27}
- VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
- VAR2:=2*ABS(VAR1);
- VAR3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
- VAR4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
- VAR5:=(HIGH+LOW+CLOSE)/3;
- VAR6:=(VAR5-MA(VAR5,14))/(0.015*AVEDEV(VAR5,14));
- VAR7:=(VAR5-MA(VAR5,70))/(0.015*AVEDEV(VAR5,70));
- VAR8:=IF(VAR6>=150 AND VAR6<200 AND VAR7>=150 AND VAR7<200,10,0);
- VAR9:=IF(VAR6<=-150 AND VAR6>-200 AND VAR7<=-150 AND VAR7>-200,-10,VAR8);
- VARA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
- VARB:=100-ABS(VARA);
- VARC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);
- VARD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);
- VARE:=REF(LOW,1)*0.9;
- VARF:=LOW*0.9;
- VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
- VAR111:=EMA(VAR10,30);
- VAR12:=VAR111-CLOSE;
- VAR13:=REF(CLOSE,1);
- VAR14:=SMA(MAX(CLOSE-VAR13,0),7,1)/SMA(ABS(CLOSE-VAR13),7,1)*100;
- VAR15:=SMA(MAX(CLOSE-VAR13,0),13,1)/SMA(ABS(CLOSE-VAR13),13,1)*100;
- VAR16:=BARSCOUNT(CLOSE);
- VAR17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
- VAR18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
- VAR19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
- VAR1A:=(SMA(VAR19,4,1)-50)*2;
- VAR1B:=SMA(VAR1A,3,1);
- VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
- VAR1D:=SMA(VAR1C,4,1);
- VAR1E:=SMA(VAR1D,3,1);
- VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
- VAR11:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100;
- VAR22:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
- VAR33:=IF(ABS(VAR1)<2,0.9,1);
- VAR44:=VAR33*(VAR22-VAR11);
- VAR20:=IF(VAR17<=25 AND VAR18<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR12>=-0.25 AND VAR14<25 AND VAR15<30 AND VAR16>50,70,0);
- ★发射: VAR20,LINETHICK0,COLORRED;
- 预警系统:IF(VAR7>=200 AND VAR6>=150,15,IF(VAR7<=-200 AND VAR6<=-150,-15,VAR9))+60,LINETHICK0;
- AA:=REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1);
- AA1:=MA(VOL,8)/MA(VOL,45)>=2.5;
- AA2:=MA(HIGH,13);
- AA3:=MA(CLOSE,13);
- AA4:=MA(AMOUNT/VOL,13)/100;
- AA5:=MA(LOW,13);
- AA6:=MA(AMOUNT/VOL,30)/100;
- AA7:=MA(AMOUNT/VOL/100,13)*0.85;
- AA8:=FILTER((AA2>REF(AA2,1)*1.015 AND AA5>REF(AA5,1)*1.015 AND AA3>REF(AA3,1)*1.015 AND AA4>REF(AA4,1)*1.015 ),5);
- 高位买:=(C>0 AND FINANCE(33)>0 AND (AA OR AA8))*20,LINETHICK0,COLORFF00FF;
- 盘:=CAPITAL/1000000;
- 益:=FINANCE(33);
- 资:=FINANCE(34);
- 换手:=VOL/CAPITAL;
- 长阳:=(WINNER(C)-WINNER(O))>=0.15 AND 换手<=0.04;
- 缩量长阳:=IF(长阳,(WINNER(C)-WINNER(O))*100,0);
- VVAR1:=(C-REF(C,1))/REF(C,1);
- VVAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
- 个股:=EMA(SUM(VVAR1,20),5);
- 大盘:=EMA(SUM(VVAR2,20),5);
- 领涨:=(个股-大盘)>=0;
- VVAR3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;
- VVAR4:=SMA(VVAR3,72,1);
- VVAR5:=SMA(VVAR4,34,1);
- 中线趋势:=3*VVAR4-2*VVAR5;
- 中线趋势升:=(中线趋势-REF(中线趋势,1))>=0;
- 均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;
- 均十升:=(MA(C,10)-REF(MA(C,10),1))>=0;
- 领涨大盘:=IF(均五升 AND 均十升 AND 中线趋势升 AND 领涨,4,0),COLORFF99FF;
- VVAR6:=(2*C+H+L)/4;
- VVAR7:=LLV(L,N);
- VVAR8:=HHV(H,N);
- 攀登:=(EMA((VVAR6-VVAR7)/(VVAR8-VVAR7)*100,13)-15)*1.6;
- 金山:=EMA(0.618*REF(攀登,1)+0.382*攀登,3);
- 强弱界:=0,COLORFFFF00;
- 运动员:=IF(攀登>=金山 AND 均五升 AND 均十升 AND 中线趋势升 AND 金山<35,1,0);
- 起步:IF(CROSS(攀登,金山) AND 金山<30,10,0),COLORRED;
- 起攀:IF(运动员=1 AND COUNT(运动员=1,5)=1,8,0),COLORFF9999,LINETHICK1;
- 超短买:=缩量长阳,LINETHICK0,COLOR60FFFF;
- BIAS1:=(C-MA(C,6))/MA(C,6)*100;
- BIAS2:=(C-MA(C,12))/MA(C,12)*100;
- BIAS3:=(C-MA(C,24))/MA(C,24)*100;
- BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
- 乖离:=MA(BIAS,3);
- 必抄底:=IF(起攀=8 AND COUNT(乖离<-12,10)>=1,10,0),LINETHICK0,COLORRED;
- 天:=IF(VARB<90,VARB,100);
- 地:= IF(VAR1>0,VAR1,0);
- 基地:= IF(VAR1<0,VAR2,0);
- STICKLINE(基地>=REF(基地,1),0,基地,2.5,0),COLOR414141;
- STICKLINE(基地<REF(基地,1),0,基地,2.5,0),COLORE2E4E5;
- STICKLINE(基地,0,-(基地)*0.3,2.5,0),COLOR232323;
- STICKLINE(基地<REF(基地,1),-(基地)*0.3,0,2.5,0),COLOR808080;
- STICKLINE(★发射>0,15,★发射*1.1,0,0),POINTDOT,COLORWHITE;
- STICKLINE(★发射>0 AND ★发射<400,40,★发射,0,1),COLORRED,LINETHICK1;
- STICKLINE(★发射>0,15,★发射*0.7,1.5,0),COLORFFA4A6,LINETHICK5;
- STICKLINE(★发射>0,15,★发射*0.1,3,0),COLOR0099CC,LINETHICK7;
- STICKLINE(★发射>0,15,0,5,0),COLORRED,LINETHICK6;
- STICKLINE(地>0,0,地,10,0),COLOR66FF00;
- STICKLINE(地>0,0,地*0.9,10,0),COLOR66EE00;
- STICKLINE(地>0,0,地*0.85,10,0),COLOR66DD00;
- STICKLINE(地>0,0,地*0.8,10,0),COLOR66CC00;
- STICKLINE(地>0,0,地*0.65,10,0),COLOR669900;
- STICKLINE(地>0,0,地*0.5,10,0),COLOR666600;
- STICKLINE(地>0,0,地*0.35,10,0),COLOR663300;
- STICKLINE(地>0,0,-地*0.3,10,0),COLOR417800;
- STICKLINE(VAR3>=REF(VAR4,1),VAR3,VAR4,3,0),COLORRED;
- STICKLINE(VAR3<REF(VAR4,1),VAR3,VAR4,3,0),COLORYELLOW;
- T1:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);
- T2:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);
- T3:=地>50 AND 预警系统>60 AND 天 =100;
- T4:=地>48 AND 预警系统>60 AND 天<100;
- T5:=基地>38 AND 预警系统<55;
- T6:=★发射>50 AND 天<90;
- T7:=VAR3<REF(VAR4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
- T8:=VAR3>=REF(VAR4,1) AND CLOSE<REF(CLOSE,1) AND 预警系统=60 AND ★发射=0 AND 基地>REF(基地,1) AND VARC<REF(VARD,1);
- STICKLINE(均五升 AND 均十升 AND 中线趋势升,0+0.5,0-0.5,1,1),COLORFFFF00,LINETHICK4;
- STICKLINE(攀登>=金山 AND 均五升 AND 均十升
- AND 中线趋势升 ,金山-3,金山-7,2,0),COLOR00A0E6 ;
- STICKLINE(攀登>金山 AND 攀登>=REF(攀登,1)
- ,攀登+5,金山-1,1.2,0),COLORRED,LINETHICK2;
- STICKLINE(攀登>金山 AND 攀登<REF(攀登,1)
- ,攀登,攀登,1.2,0),COLORWHITE,LINETHICK2;
- STICKLINE(攀登<金山,金山+0.5,金山-0.5,1.5,0),COLORFFFF00,LINETHICK2;
- STICKLINE(领涨大盘=4,攀登+6,金山-1,2,0),COLORFF99FF;
- STICKLINE(必抄底=10,10,0,5,1),COLORRED;
- STICKLINE(缩量长阳,15,0,1,0),COLOR00FFFF,LINETHICK2;
- STICKLINE(高位买>0 AND 高位买<400,5,高位买,0,0),COLORRED,LINETHICK1;
- STICKLINE(高位买>0,0,高位买*0.7,1,0),COLORFFA4A6;
- STICKLINE(高位买>0,0,高位买*0.2,2,0),COLORRED,LINETHICK7;
- STICKLINE(VARB<90,100,VARB,0,0),COLORFFFFFF;
- STICKLINE(VARB<90,100,95,0,0),COLOR898989;
- DRAWTEXT(均五升 AND 均十升 AND 中线趋势升 AND 领涨 ,4,'ˉ'),COLORFF99FF;
- DRAWTEXT(预警系统=75,75,'↓'),COLOR0000FF;
- DRAWTEXT(预警系统=50,75,'↑'),COLOR00FFFF;
- DRAWTEXT(T1 AND COUNT(T1,30)=1,100,'★待长或高抛低吸!'),COLOR00FFFF;
- DRAWTEXT(T2 AND COUNT(T2,30)=1,90,'☆小心无量阴跌!'),COLOR00FFFF;
- DRAWTEXT(T3 AND COUNT(T3,30)=1,70,'∨过急,需要调整!'),COLOR00FFFF;
- DRAWTEXT(T4 AND COUNT(T4,30)=1,80,'∨顶部,注意风险!'),COLOR00FFFF;
- DRAWTEXT(T5 AND COUNT(T5,30)=1,50,'∧不必杀跌,应有小反弹!'),COLOR00FFFF;
- DRAWTEXT(T6 AND COUNT(T6,30)=1,30,'▲坚决抢反弹!'),COLOR00FFFF;
- DRAWTEXT(T7 AND COUNT(T7,30)=1,40,'△有资金进场迹象,关注!'),COLOR00FFFF;
- DRAWTEXT(C>0 AND 高位买 AND ISLASTBAR,60,'▲高位买进,注意风险!'),COLOR00FFFF;DRAWTEXT(起攀=8,金山,'起攀'),COLORWHITE;
- DRAWTEXT(C>0 AND 缩量长阳>0 AND ISLASTBAR,0,'◆超短买,逢低买进'),COLOR00FFFF;
- DRAWTEXT(必抄底=10,30,'★←必抄底'),COLORRED;
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|
上一篇:不错的同花顺主图(源码)
下一篇:同花顺中线趋势指标