{公式名称: 分时-日线两用 公式描述:
参数数量: 1
参数1: P, 最小: 0, 最大: 2, 缺省: 2
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:
请设置计算参数:
P: PARAM#0 (0.00--2.00)
用法注释:无
公式源码:}
黄金卖点:=EMA(CLOSE+(HIGH-LOW)*0.618,3);
黄金买点:=EMA((OPEN+HIGH+LOW)/3,4);
预测明买:=EMA((OPEN+HIGH+LOW)/3,4)+((HIGH+LOW)/2-REF((OPEN+HIGH+LOW)/3,3))/4;
预测明卖:=EMA(CLOSE+(HIGH-LOW)*0.618,3)+(EMA(CLOSE+(HIGH-LOW)*0.618,3)-黄金买点)*0.618;
今买:=REF(预测明买,1);
今卖:=REF(预测明卖,1);
NN:=250;
最高:=CONST(HHV(HIGH,NN));
最低:=CONST(LLV(LOW,NN));
RCC2:=最高*0.9-(最高-最低);
RCC1:=最高-(最高-最低)/2;
RHL:=RCC2;
HLMAX:=最高;
HLMIN:=最低;
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=HLMAX-HLMIN;
HLMN3:=(100-0)/2*1.3;
HLMN4:=(100-0)/1*1.3;
CC:=CLOSE;
VAR7:=SMA(CC,6.18,1);
VAR8:=SMA(VAR7,3.14,1);
BB:=ATAN(VAR7-REF(VAR7,1))*3.1416*10;
EE:=ATAN(VAR8-REF(VAR8,1))*3.1416*10;
【立度】:BB+EE,NODRAW,COLORYELLOW;
TJ:=FILTER(CLOSE,239)>0;
TJJ:=SUM(TJ,0);
TJA:=CONST(TJJ);
LTA:=FINANCE(7)+300000000;
GB:=2*IF(FINANCE(7)<99999997952,FLOOR(ABS(FINANCE(7)/1000000000-1)),FLOOR(ABS(FINANCE(7)/1000000000-1))/10);
C1:=CLOSE;
V1:=TIME;
A1:=COUNT(BARSCOUNT(CLOSE)=1 AND TIME<102000,0);
T:=IF(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)));
TTA:=INTPART(2*T/5)+20;
MMA30:=EMA(CLOSE,30);
强弱界定:=IF(PERIOD=0,EMA(CLOSE,900),DRAWNULL);
TDXSTEP139:DRAWBAND(MMA30,RGB(100,0,0),强弱界定,RGB(95,120,115));
RCC:=IF(PERIOD=0,DYNAINFO(3),DYNAINFO(3)*0.9);
S2:=SMA(CLOSE,3,1);
S6:=SMA(CLOSE,5,1);
DK:=4*(S2-S6);
KK:=1;
昨收:=RCC;
HH:=DYNAINFO(5);
LL:=DYNAINFO(6);
FK:=MAX(HH-昨收,昨收-LL)*0.1;
ZS:=昨收-FK*3.2;
Q1:=昨收-FK*3.22;
Q2:=昨收-2*FK*3.22;
Q3:=昨收-3*FK*3.2;
DIF:=EMA(CLOSE,13)-EMA(CLOSE,24);
DEA:=EMA(DIF,6);
MACD:=5*(DIF-DEA);
TDXSTEP140:STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),RCC*1,MACD*3+RCC*1,4,0),COLOR992299,LINETHICK3;
TDXSTEP141:STICKLINE(MACD>=0 AND MACD<REF(MACD,1),RCC*1,MACD*3+RCC*1,4,0),COLOR774422,LINETHICK3;
TDXSTEP142:STICKLINE(MACD<0 AND MACD>=REF(MACD,1),RCC*1,MACD*3+RCC*1,4,0),COLOR064499,LINETHICK3;
TDXSTEP143:STICKLINE(MACD<0 AND MACD<REF(MACD,1),RCC*1,MACD*3+RCC*1,4,0),COLOR774422,LINETHICK3;
TDXSTEP144:STICKLINE(DK>0,RCC*KK,RCC*KK+DK,1,1),COLOR00AAAA;
TDXSTEP145:STICKLINE(DK<0,RCC*KK,RCC*KK+DK,1,1),COLORBROWN;
DIFF:=EMA(CLOSE,240)-EMA(CLOSE,240)*100;
DEAA:=EMA(DIFF,18);
多头MACD:=(-3)*(DIFF-DEAA)*20;
ZD:=HHV(多头MACD,0);
ZX:=LLV(多头MACD,0);
CZ:=(Q2-Q3)/6;
FDM:=MAX(ABS(ZD),ABS(ZX))*1.5;
RB:=IF(PERIOD=0,(Q2+Q3)/2+2*(Q2-Q3)/3/FDM*多头MACD,DRAWNULL);
TDXSTEP146:STICKLINE(PERIOD=0 AND 多头MACD>0,RB,(Q2+Q3)/2,4,1),COLORMAGENTA;
TDXSTEP147:STICKLINE(PERIOD=0 AND 多头MACD<0,RB,(Q2+Q3)/2,4,1),COLORGREEN;
EEEE:=IF(P<2 AND PERIOD!=0 OR PERIOD=0,(RCC-ZS)/5,DRAWNULL);
FVAR1:=REF(LOW,1);
FVAR2:=SMA(ABS(LOW-FVAR1),13,1)/SMA(MAX(LOW-FVAR1,0),13,1);
FVAR3:=EMA(FVAR2,13);
FVAR4:=LLV(LOW,34);
FVAR51:=EMA(IF(LOW<=FVAR4,FVAR3,0),3);
FVAR5:=IF(FVAR51>20,20,FVAR51);
主力进场:STICKLINE(FVAR5>REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FVAR5*EEEE,4,0),COLORRED;
TDXSTEP148:STICKLINE(CLOSE>0 AND PERIOD!=0 AND FVAR5>REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FVAR5*EEEE*3,4,0),COLOR0000BB;
TDXSTEP149:STICKLINE(FVAR5<REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FVAR5*EEEE,5,1),COLORGREEN;
TDXSTEP150:STICKLINE(CLOSE>0 AND PERIOD!=0 AND FVAR5<REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FVAR5*EEEE*3,5,1),COLORGREEN;
FVAR6:=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);
FVAR7:=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);
FVAR8:=FVAR6<REF(FVAR7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
TDXSTEP151:DRAWTEXT(TJA<3 AND FVAR8 AND COUNT(FVAR8,30)=1,(Q2+Q3)/2+3*EEEE,4);
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
TDXSTEP152:STICKLINE(二次金叉,(Q2+Q3)/2,(Q2+Q3)/2+3*EEEE,4,0),COLORYELLOW;
TDXSTEP153:DRAWTEXT(TJA<3 AND 二次金叉,(Q2+Q3)/2+4*EEEE,5),COLORYELLOW;
HHH:=MA(CLOSE,10);
GGG:=MA(CLOSE,12);
上:=EMA(MA(HIGH,3)*1.05,30);
下:=EMA(MA(LOW,3)*0.96,30);
决战:STICKLINE(CROSS(DIF,DEA) AND 下-REF(下,1)>0 AND MACD>=REF(MACD,1) AND DIF<0,(Q2+Q3)/2,(Q2+Q3)/2+4*EEEE,1,0),COLORRED;
TDXSTEP154:DRAWTEXT(TJA<3 AND (CROSS(DIF,DEA) AND 下-REF(下,1)>0 AND MACD>=REF(MACD,1) AND DIF<=0),(Q2+Q3)/2+5*EEEE,6),COLORRED;
RSV:=(CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240))*200-100;
K:=SMA(SMA(RSV,18,1),3,1);
D:=MA(EMA(K,18),3);
短买:=CROSS(K,D) AND K>0 AND CLOSE<DYNAINFO(3)*1.07;
TDXSTEP155:DRAWTEXT(TJA<3 AND 短买,(Q2+Q3)/2+(Q2-Q3)/1+3*EEEE,7),COLORMAGENTA;
YY:=SMA(VOL,30,1);
量1:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30));
量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.92;
短横:=(HHV(CLOSE,TTA)-LLV(CLOSE,TTA))/CLOSE<0.03;
横后上涨:=CLOSE/DYNAINFO(3)>=1.02=0 AND 短横 AND 量 AND CROSS(CLOSE,MA(CLOSE*VOL,TTA)/MA(VOL,TTA)+AVEDEV(CLOSE,TTA)*2);
上涨:=FILTER(CROSS(横后上涨,0) AND 量 AND T>60 OR (T>60 AND CLOSE<DYNAINFO(3)*1.04 AND (量1<0.5 OR 量1=1) AND BARSLAST(CROSS(CLOSE,MA(CLOSE*VOL,TTA)/MA(VOL,TTA)+AVEDEV(CLOSE,TTA)*2))<3 AND CROSS(CLOSE,MA(HHV(CLOSE,TTA),1))),30);
TDXSTEP156:DRAWTEXT(TJA<3 AND 上涨,(Q2+Q3)/2+(Q2-Q3)/1+3*EEEE,8),COLORRED,LINETHICK3;
TDXSTEP157:DRAWBAND(VAR7,RGB(250,250,50),VAR8,RGB(83,250,68));
ZF:=EMA(SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1),3),49)*10+EMA(CLOSE,20);
M20:IF(PERIOD!=0,MA(CLOSE,20),DRAWNULL),COLORWHITE;
★强势线★:IF(PERIOD!=0,EMA(ZF,34),DRAWNULL),COLORYELLOW,LINETHICK2;
TDXSTEP158:IF(PERIOD!=0,MA(CLOSE,120),DRAWNULL),COLORBLUE;
TDXSTEP159:DRAWICON(CLOSE<200 AND PERIOD!=0 AND 【立度】>20,HIGH,2);
B1:=REF(CLOSE,1);
B2:=REF(CLOSE,2);
B3:=REF(CLOSE,3);
B4:=REF(CLOSE,4);
CMAX:=MAX(MAX(MAX(CLOSE,B1),B2),B3);
CMIN:=MIN(MIN(MIN(CLOSE,B1),B2),B3);
持股:=CLOSE=CMAX AND (B1>=B2 OR B1>=B3) OR (B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSE>=B2) OR (B2=CMAX AND B3=CMIN AND CLOSE>=B1) OR (B3=CMAX AND CLOSE>=B1 AND CLOSE>=B2);
变盘:=CLOSE=CMAX AND B1=CMIN;
下跌:=CLOSE=CMIN AND (B1<B2 OR B1<B3) OR (B1=CMIN AND (B2=CMAX OR B3=CMAX) A |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!