m 1 999 80 HB:=COST(99.9); LB:=COST(0.1); B3:=(HB-LB)/50; B31:=HB-B3; B32:=HB-2*B3; B33:=HB-3*B3; B34:=HB-4*B3; B35:=HB-5*B3; B36:=HB-6*B3; B37:=HB-7*B3; B38:=HB-8*B3; B39:=HB-9*B3; B310:=HB-10*B3; B311:=HB-11*B3; B312:=HB-12*B3; B313:=HB-13*B3; B314:=HB-14*B3; B315:=HB-15*B3; B316:=HB-16*B3; B317:=HB-17*B3; B318:=HB-18*B3; B319:=HB-19*B3; B320:=HB-20*B3; B321:=HB-21*B3; B322:=HB-22*B3; B323:=HB-23*B3; B324:=HB-24*B3; B325:=HB-25*B3; B326:=HB-26*B3; B327:=HB-27*B3; B328:=HB-28*B3; B329:=HB-29*B3; B330:=HB-30*B3; B331:=HB-31*B3; B332:=HB-32*B3; B333:=HB-33*B3; B334:=HB-34*B3; B335:=HB-35*B3; B336:=HB-36*B3; B337:=HB-37*B3; B338:=HB-38*B3; B339:=HB-39*B3; B340:=HB-40*B3; B341:=HB-41*B3; B342:=HB-42*B3; B343:=HB-43*B3; B344:=HB-44*B3; B345:=HB-45*B3; B346:=HB-46*B3; B347:=HB-47*B3; B348:=HB-48*B3; B349:=HB-49*B3; A1:=WINNER(HB)*100-WINNER(B31)*100; A2:=WINNER(B31)*100-WINNER(B32)*100; A3:=WINNER(B32)*100-WINNER(B33)*100; A4:=WINNER(B33)*100-WINNER(B34)*100; A5:=WINNER(B34)*100-WINNER(B35)*100; A6:=WINNER(B35)*100-WINNER(B36)*100; A7:=WINNER(B36)*100-WINNER(B37)*100; A8:=WINNER(B37)*100-WINNER(B38)*100; A9:=WINNER(B38)*100-WINNER(B39)*100; A10:=WINNER(B39)*100-WINNER(B310)*100; A11:=WINNER(B310)*100-WINNER(B311)*100; A12:=WINNER(B311)*100-WINNER(B312)*100; A13:=WINNER(B312)*100-WINNER(B313)*100; A14:=WINNER(B313)*100-WINNER(B314)*100; A15:=WINNER(B314)*100-WINNER(B315)*100; A16:=WINNER(B315)*100-WINNER(B316)*100; A17:=WINNER(B316)*100-WINNER(B317)*100; A18:=WINNER(B317)*100-WINNER(B318)*100; A19:=WINNER(B318)*100-WINNER(B319)*100; A20:=WINNER(B319)*100-WINNER(B320)*100; A21:=WINNER(B320)*100-WINNER(B321)*100; A22:=WINNER(B321)*100-WINNER(B322)*100; A23:=WINNER(B322)*100-WINNER(B323)*100; A24:=WINNER(B323)*100-WINNER(B324)*100; A25:=WINNER(B324)*100-WINNER(B325)*100; A26:=WINNER(B325)*100-WINNER(B326)*100; A27:=WINNER(B326)*100-WINNER(B327)*100; A28:=WINNER(B327)*100-WINNER(B328)*100; A29:=WINNER(B328)*100-WINNER(B329)*100; A30:=WINNER(B329)*100-WINNER(B330)*100; A31:=WINNER(B330)*100-WINNER(B331)*100; A32:=WINNER(B331)*100-WINNER(B332)*100; A33:=WINNER(B332)*100-WINNER(B333)*100; A34:=WINNER(B333)*100-WINNER(B334)*100; A35:=WINNER(B334)*100-WINNER(B335)*100; A36:=WINNER(B335)*100-WINNER(B336)*100; A37:=WINNER(B336)*100-WINNER(B337)*100; A38:=WINNER(B337)*100-WINNER(B338)*100; A39:=WINNER(B338)*100-WINNER(B339)*100; A40:=WINNER(B339)*100-WINNER(B340)*100; A41:=WINNER(B340)*100-WINNER(B341)*100; A42:=WINNER(B341)*100-WINNER(B342)*100; A43:=WINNER(B342)*100-WINNER(B343)*100; A44:=WINNER(B343)*100-WINNER(B344)*100; A45:=WINNER(B344)*100-WINNER(B345)*100; A46:=WINNER(B345)*100-WINNER(B346)*100; A47:=WINNER(B346)*100-WINNER(B347)*100; A48:=WINNER(B347)*100-WINNER(B348)*100; A49:=WINNER(B348)*100-WINNER(B349)*100; A50:=WINNER(B349)*100-WINNER(LB)*100; MAX1:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A1,A2),A3),A4),A5),A6),A7),A8),A9),A10); MAX2:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A11,A12),A13),A14),A15),A16),A17),A18),A19),A20); MAX3:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A21,A22),A23),A24),A25),A26),A27),A28),A29),A30); MAX4:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A31,A32),A33),A34),A35),A36),A37),A38),A39),A40); MAX5:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A41,A42),A43),A44),A45),A46),A47),A48),A49),A50); MAX6:=MAX(MAX(MAX(MAX(MAX1,MAX2),MAX3),MAX4),MAX5); 筹码线:IF(MAX6=A1,HB,IF(MAX6=A2,B31,IF(MAX6=A3,B32,IF(MAX6=A4,B33,IF(MAX6=A5,B34,IF(MAX6=A6,B35,IF(MAX6=A7,B36,IF(MAX6=A8,B37,IF(MAX6=A9,B38,IF(MAX6=A10,B39, IF(MAX6=A11,B310,IF(MAX6=A12,B311,IF(MAX6=A13,B312,IF(MAX6=A14,B313,IF(MAX6=A15,B314,IF(MAX6=A16,B315,IF(MAX6=A17,B316,IF(MAX6=A18,B317,IF(MAX6=A19,B318,IF(MAX6=A20,B319, IF(MAX6=A21,B320,IF(MAX6=A22,B321,IF(MAX6=A23,B322,IF(MAX6=A24,B323,IF(MAX6=A25,B324,IF(MAX6=A26,B325,IF(MAX6=A27,B326,IF(MAX6=A28,B327,IF(MAX6=A29,B328,IF(MAX6=A30,B329, IF(MAX6=A31,B330,IF(MAX6=A32,B331,IF(MAX6=A33,B332,IF(MAX6=A34,B333,IF(MAX6=A35,B334,IF(MAX6=A36,B335,IF(MAX6=A37,B336,IF(MAX6=A38,B337,IF(MAX6=A39,B338,IF(MAX6=A40,B339, IF(MAX6=A41,B340,IF(MAX6=A42,B341,IF(MAX6=A43,B342,IF(MAX6=A44,B343,IF(MAX6=A45,B344,IF(MAX6=A46,B345,IF(MAX6=A47,B346,IF(MAX6=A48,B347,IF(MAX6=A49,B348,IF(MAX6=A50,B349,LB)))))))))))))))))))))))))))))))))))))))))))))))))),LINETHICK2,COLORFF00FF; STICKLINE(CROSS(C,筹码线),C,O,1,0),COLOR00FFFF; TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW))); ATR:=MA(TLAMSENR,13);VAR1A:=(REF(CLOSE,1)-REF(ATR,1)); 黄金线:(HHV(VAR1A,12)),LINETHICK2,COLOR0080FF; 半年开盘价:REF(O,BARSLAST(MOD(MONTH,6)=0)-1),COLOR009900,LINETHICK3; 年:=YEAR,NODRAW; 月:=MONTH,NODRAW; 星期:=WEEKDAY,NODRAW; 日1:=DATETODAY(DATE); 上市日:=REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT); 自然日:=日1-DATETODAY(上市日)+1; ZB:=(自然日-REF(自然日,1))!=星期-REF(星期,1) OR TOTALBARSCOUNT-CURRBARSCOUNT=0; 本周第几天:=BARSLAST(ZB)+1; 本月第几天:=BARSLAST(年*100+月!=REF(年*100+月,1))+1; MA1:=REF(C,本周第几天); MA2:=REF(MA1,本周第几天); MA3:=REF(MA2,本周第几天); MA4:=REF(MA3,本周第几天); MA5:=REF(MA4,本周第几天); MA6:=REF(MA5,本周第几天); MA7:=REF(MA6,本周第几天); MA8:=REF(MA7,本周第几天); MA9:=REF(MA8,本周第几天); 十周价:=(C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10; 出击突破:REFDATE(十周价,DATE),COLORWHITE,DOTLINE; DRAWTEXT(ISLASTBAR,出击突破,' --------出击突破'),COLORWHITE; N:=10; T1:=CONST(HHVBARS(V,N)); T0:IF(CURRBARSCOUNT<=N+3,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL),COLORWHITE; IF(CURRBARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT,COLORWHITE; DRAWTEXT(ISLASTBAR,T0,' --------量能评台'),COLORWHITE; DP:=IF(C=INDEXC,0,1); GJ:=AMOUNT/V/100; 【明日阻力】:L+(GJ-L)+(C-L),COLORRED,NODRAW; 【明日支撑】:L+(C-GJ),NODRAW; {通达信单阳不破} 单阳:=C>O*1.03 AND VOL>REF(VOL,1)*1.5; 不破价:=REF(L,BARSLAST(单阳)); DRAWTEXT(单阳,L-L*0.02,'阳'),COLOR00FFFF; LS0:=BARSLAST(单阳); LS11:=IF(1,LS0=1,单阳); LS21:=IF(1,LLV(L,1)>REF(L,1),1); 单阳不破:=LS11 AND LS21; STICKLINE(单阳不破,不破价-不破价*0.002,不破价,4,0),COLORRED; DRAWTEXT(单阳不破,不破价-不破价*0.02,'1'),COLORGREEN; LS12:=IF(2,LS0=2,单阳); LS22:=IF(2,LLV(L,2)>REF(L,2),1); 单阳不破2:=LS12 AND LS22; STICKLINE(单阳不破2,不破价-不破价*0.002,不破价,4,0),COLORRED; DRAWTEXT(单阳不破2,不破价-不破价*0.02,'2'),COLORGREEN; LS13:=IF(3,LS0=3,单阳); LS23:=IF(3,LLV(L,3)>REF(L,3),1); 单阳不破3:=LS13 AND LS23; STICKLINE(单阳不破3,不破价-不破价*0.002,不破价,4,0),COLORRED; DRAWTEXT(单阳不破3,不破价-不破价*0.02,'3'),COLORGREEN; LS14:=IF(4,LS0=4,单阳); LS24:=IF(4,LLV(L,4)>REF(L,4),1); 单阳不破4:=LS14 AND LS24; STICKLINE(单阳不破4,不破价-不破价*0.002,不破价,4,0),COLORRED; DRAWTEXT(单阳不破4,不破价-不破价*0.02,'4'),COLORGREEN; LS15:=IF(5,LS0=5,单阳); LS25:=IF(5,LLV(L,5)>REF(L,5),1); 单阳不破5:=LS15 AND LS25; STICKLINE(单阳不破5,不破价-不破价*0.002,不破价,4,0),COLORRED; DRAWTEXT(单阳不破5,不破价-不破价*0.02,'5'),COLORGREEN; LS16:=IF(6,LS0=6,单阳); LS26:=IF(6,LLV(L,6)>REF(L,6),1); 单阳不破6:=LS16 AND LS26; STICKLINE(单阳不破6,不破价-不破价*0.002,不破价,4,0),COLORRED; DRAWTEXT(单阳不破6,不破价-不破价*0.02,'6'),COLORGREEN; LS17:=IF(7,LS0=7,单阳); LS27:=IF(7,LLV(L,7)>REF(L,7),1); 单阳不破7:=LS17 AND LS27; STICKLINE(单阳不破7,不破价-不破价*0.002,不破价,4,0),COLORRED; DRAWTEXT(单阳不破7,不破价-不破价*0.02,'7'),COLORGREEN; LS18:=IF(8,LS0=8,单阳); LS28:=IF(8,LLV(L,8)>REF(L,8),1); 单阳不破8:=LS18 AND LS28; STICKLINE(单阳不破8,不破价-不破价*0.002,不破价,4,0),COLORRED; DRAWTEXT(单阳不破8,不破价-不破价*0.02,'8'),COLORGREEN; LS19:=IF(9,LS0=9,单阳); LS29:=IF(9,LLV(L,9)>REF(L,9),1); 单阳不破9:=LS19 AND LS29; STICKLINE(单阳不破9,不破价-不破价*0.002,不破价,4,0),COLORRED; DRAWTEXT(单阳不破9,不破价-不破价*0.02,'9'),COLORGREEN; LS110:=IF(10,LS0=10,单阳); LS210:=IF(10,LLV(L,10)>REF(L,10),1); 单阳不破10:=LS110 AND LS210; STICKLINE(单阳不破10,不破价-不破价*0.002,不破价,4,0),COLORRED; DRAWTEXT(单阳不破10,不破价-不破价*0.02,'10'),COLORGREEN; {黄 |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!