大智慧L2的源码: N:=34;m:=3; VARO5:=LLV(LOW,27); VARO6:=HHV(HIGH,34); VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25; 建仓区: IF((VARO7<10),120,128) ,LINETHICK1,COLORYELLOW; CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7; CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9)); CD3:=SMA(SMA(CD2,3,1),3,1); CD4:=(CD3-SMA(CD1,9,1))-0.5; CD5:=IF(CD4>0.00,CD4,0.00); VAR81:=MA(C,9); CD6:=REF(CD5,1); 空头1:=IF(CD6-CD5,CD6,CD5); 减仓空仓:CROSS(CD6,CD5),COLORGREEN; DRAWICON(减仓空仓>0,108,2); 风险线:108,COLORGREEN; 红色持股:0,COLORRED; 绿色空仓:0,COLORGREEN; VAR1:=HHV(HIGH,5); VAR2:=LLV(LOW,5); VAR3:=REF(CLOSE,2); VAR4:=((SMA(MAX(CLOSE-VAR3,0),7,1))/(SMA(ABS(CLOSE-VAR3),7,1)))*(100); DRAWTEXT((VAR4<REF(VAR4,1)) AND (VAR4>79),108,'▼'),COLOR00F200; VAR5:=((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80)))*(200); VARA:=SMA(VAR5,3,1); VARB:=SMA(VARA,3,1); VARC:=(3)*(VARA)-(2)*(VARB); VARD:=LLV(LOW,5); VARE:=HHV(HIGH,5); VARF:=(EMA(((CLOSE-VARD)/(VARE-VARD))*(100),4))*(2); VAR6:=EMA((0.66699999)*(REF(VARF,1))+(0.333)*(VARF),2); VAR7:=(3)*(VARF)-(2)*(VAR6); VAR8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); VAR9:=POW(MA(LOW,5),2)+MA(LOW,5); VAR10:=POW(MA(HIGH,5),2)+MA(HIGH,5); VAR11:=((VAR8-LLV(VAR9,64))/(HHV(VAR10,64)-LLV(VAR9,64)))*(150)+65-10; VAR12:=(SMA(VAR11,3,1))*(1.5)-100; VAR13:=SMA(VAR12,3,1); VAR14:=(3)*(VAR12)-(2)*(VAR13); VAR15:=(HIGH+LOW+(CLOSE)*(2))/(4); VAR1A:=EMA(VAR15,13); VAR1B:=STD(VAR15,13); VAR1C:=((VAR15-VAR1A)*(100))/(VAR1B); VAR1D:=EMA(VAR1C,5); VAR1E:=EMA(VAR1D,13); VAR1F:=EMA(VAR1D,13)+200-100; VAR16:=EMA(VAR1F,10); VAR17:=(3)*(VAR1F)-(2)*(VAR16); VAR18:=VARA+VARF+VAR12+VAR1F; VAR19:=VARB+VAR6+VAR13+VAR16; VAR20:=VARC+VAR7+VAR14+VAR17; VAR21:=(HIGH+LOW+CLOSE)/(3); VAR22:=((AMOUNT)/(VOL))/(100); VAR23:=((SUM(AMOUNT,5))/(SUM(VOL,5)))/(100); VAR24:=(VAR21-MA(VAR21,34))/((0.015)*(AVEDEV(VAR21,34))); VAR25:=DMA(((AMOUNT)/(VOL))/(100),(VOL)/(CAPITAL)); VAR2A:=(HIGH+LOW+CLOSE+VAR21)/(4); VAR2B:=EMA(VAR2A,24); VAR2C:=STD(VAR2A,24); VAR2D:=((VAR2A-VAR2B)/(VAR2C))*(100); VAR2E:=(VAR21-MA(VAR21,24))/((0.015)*(AVEDEV(VAR21,24))); VAR2F:=EMA(VAR2D,5); VAR26:=((VAR2F+VAR2E+VAR24)/(3)+165)/(4); VAR27:=(EMA(EMA(EMA(VAR26,15),10),5)-25)*(2)+VAR25; VAR28:=((VAR18+VAR19+(VAR20)*(30))/(32))/(5)-15; VAR29:=EMA(VAR28,13); VAR30:=EMA(CLOSE,8); VAR31:=EMA(VAR30,20); VAR3A:=CROSS(VAR30,VAR31); VAR3B:=(VAR30<EMA(CLOSE,120)); VAR3C:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1)); VAR3D:=EMA(VAR3C,3); VAR3E:=EMA((VAR27+VAR29)/(2),2); STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,6,0),COLOR00007B; STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,5,0),COLOR000088; STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,4,0),COLOR00009B; STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,3,0),COLOR0000AE; STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,2,0),COLOR0000BB; STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,1,0),COLOR0000CC; STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,1,0),COLOR0000DD; STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,1,0),COLOR0000EC; STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,1,0),COLOR0000E9; STICKLINE((VAR3E-REF(VAR3E,1)<0),VAR3E,0,6,0),COLOR00007B; STICKLINE((VAR3E-REF(VAR3E,1)<0),VAR3E,0,5,0),COLOR007B00; STICKLINE((VAR3E-REF(VAR3E,1)<0),VAR3E,0,4,0),COLOR008800; STICKLINE((VAR3E-REF(VAR3E,1)<0),VAR3E,0,3,0),COLOR009900; STICKLINE((VAR3E-REF(VAR3E,1)<0),VAR3E,0,2,0),COLOR00AA00; STICKLINE((VAR3E-REF(VAR3E,1)<0),VAR3E,0,1,0),COLOR00BB00; Q1:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100; Q2:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100; Q3:=Q2-Q1; STICKLINE(HHV(MA(Q3,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),0,50,1,0),COLORD19275; STICKLINE(HHV(MA(Q3,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),43,50,1,0),COLOR0080FF; STICKLINE(HHV(MA(Q3,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),43,41,1,0),COLOR0080FF; STICKLINE(HHV(MA(Q3,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),50,48,3,0),COLOR0080FF; 高度控盘:IF(HHV(MA(Q3,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),40,0),VOLSTICK,COLORMAGENTA; VAR51:=3; VAR52:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1)); 准备启动:CROSS(VAR52,VAR51),STICK,COLORRED; DRAWICON(准备启动>0,8,1); VAR61:=(2*CLOSE+HIGH+LOW+OPEN)/5; VAR62:=LLV(LOW,21); VAR63:=HHV(HIGH,21); 操作线:= EMA((VAR61-VAR62)/(VAR63-VAR62)*100,5); 阻力线:= EMA(0.667*REF(操作线,1)+0.333*操作线,4); 低位买进:CROSS(操作线,6),STICK,COLORYELLOW; DRAWICON(低位买进>0,8,1); 多:=IF(CD5>=CD6,CD5,CD6); 多头启动:CROSS(CD5,0.001),COLORWHITE; DRAWICON(多头启动>0,8,1); 底部指数:=EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),M)/4; 低指反弹:CROSS(底部指数,0.6){ OR CROSS(底部指数,1.2)},COLORSTICK,COLORRED; DRAWICON(低指反弹>0,8,1); 底部反弹:CROSS(VAR3E,-5); DRAWICON(底部反弹>0,-3,1); 下面是通达信原版源码 N:=34;m:=3; VARO5:=LLV(LOW,27); VARO6:=HHV(HIGH,34); VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25; 建仓区: IF((VARO7<10),120,128) ,LINETHICK1,COLORYELLOW; CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7; CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9)); CD3:=SMA(SMA(CD2,3,1),3,1); CD4:=(CD3-SMA(CD1,9,1))-0.5; CD5:=IF(CD4>0.00,CD4,0.00); VAR81:=MA(C,9),COLORRED; CD6:=REF(CD5,1); 空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN; 减仓空仓:CROSS(CD6,CD5),COLORGREEN; DRAWICON(减仓空仓>0,108,2); 风险线:108,COLORGREEN; 红色持股:0,COLORRED; 绿色空仓:0,COLORGREEN; VAR1:=HHV(HIGH,5); VAR2:=LLV(LOW,5); VAR3:=REF(CLOSE,2); VAR4:=((SMA(MAX(CLOSE-VAR3,0),7,1))/(SMA(ABS(CLOSE-VAR3),7,1)))*(100); DRAWTEXT((VAR4<REF(VAR4,1)) AND (VAR4>79),108,'▼'),COLOR00F200; VAR5:=((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80)))*(200); VARA:=SMA(VAR5,3,1); VARB:=SMA(VARA,3,1); VARC:=(3)*(VARA)-(2)*(VARB); VARD:=LLV(LOW,5); VARE:=HHV(HIGH,5); VARF:=(EMA(((CLOSE-VARD)/(VARE-VARD))*(100),4))*(2); VAR6:=EMA((0.66699999)*(REF(VARF,1))+(0.333)*(VARF),2); VAR7:=(3)*(VARF)-(2)*(VAR6); VAR8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); VAR9:=POW(MA(LOW,5),2)+MA(LOW,5); VAR10:=POW(MA(HIGH,5),2)+MA(HIGH,5); VAR11:=((VAR8-LLV(VAR9,64))/(HHV(VAR10,64)-LLV(VAR9,64)))*(150)+65-10; VAR12:=(SMA(VAR11,3,1))*(1.5)-100; VAR13:=SMA(VAR12,3,1); VAR14:=(3)*(VAR12)-(2)*(VAR13); VAR15:=(HIGH+LOW+(CLOSE)*(2))/(4); VAR1A:=EMA(VAR15,13); VAR1B:=STD(VAR15,13); VAR1C:=((VAR15-VAR1A)*(100))/(VAR1B); VAR1D:=EMA(VAR1C,5); VAR1E:=EMA(VAR1D,13); VAR1F:=EMA(VAR1D,13)+200-100; VAR16:=EMA(VAR1F,10); VAR17:=(3)*(VAR1F)-(2)*(VAR16); VAR18:=VARA+VARF+VAR12+VAR1F; VAR19:=VARB+VAR6+VAR13+VAR16; VAR20:=VARC+VAR7+VAR14+VAR17; VAR21:=(HIGH+LOW+CLOSE)/(3); VAR22:=((AMOUNT)/(VOL))/(100); VAR23:=((SUM(AMOUNT,5))/(SUM(VOL,5)))/(100); VAR24:=(VAR21-MA(VAR21,34))/((0.015)*(AVEDEV(VAR21,34))); VAR25:=DMA(((AMOUNT)/(VOL))/(100),(VOL)/(CAPITAL)); VAR2A:=(HIGH+LOW+CLOS |
- 软件大小:12.0 KB
- 推荐星级:
- 更新时间:2008-11-26 03:38:31
- 软件类别: 国产软件 / 大智慧L2公式
- 软件语言:简体中文
- 授权方式: 解密版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/2000/XP/2003/
- 相关Tags:指标公式 股票软件,公式源码
-
(2)100%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!