分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]CDMA(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2022-01-11 00:12:33
软件简介:

SHORT:=42;LONG:=84;MID:=24;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:(DIF-DEA)*2,COLORSTICK;
绝对:=ABS(MA(MACD,84));
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,8,1),colorred;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,8,0),colorred;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,8,1),colorgreen;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,8,0),colorgreen;
STICKLINE(MA(C,1)>REF(MA(C,1),1) AND MA(C,1)>REF(MA(C,1),2)   AND MACD>REF(MACD,1),MACD,0.7*MACD,8,0),coloryellow;
STICKLINE(MA(C,1)<REF(MA(C,1),1) AND MA(C,1)<REF(MA(C,1),2)   AND MACD<REF(MACD,1),MACD,0.7*MACD,8,0),colorblue;
STICKLINE(MA(C,1)<REF(MA(C,1),1) AND MA(C,1)<REF(MA(C,1),2)   AND MACD>REF(MACD,1),MACD,0.7*MACD,8,0),colorliblue;
AVF:(DIF+DEA)/4;
//DRAWTEXT(AVF>REF(AVF,1),AVF,'+'),colorred;
//DRAWTEXT(AVF<REF(AVF,1),AVF,'-'),colorgreen;
//DRAWTEXT(CROSS(AVF,0),-MA(MACD,5),'U'),coloryellow,LINETHICK2;
//DRAWTEXT(CROSS(0,AVF),-MA(MACD,5),'D'),coloryellow,LINETHICK2;
SHORT2:=120;LONG2:=250;MID2:=60;
DIF2:=EMA(CLOSE,SHORT2)-EMA(CLOSE,LONG2);
DEA2:=EMA(DIF2,MID2);
MACD2:=(DIF2-DEA2)*2,COLORSTICK;
STICKLINE(MA(C,1)>REF(MA(C,1),1) AND MA(C,1)>REF(MA(C,1),2)  AND MACD>REF(MACD,1) AND MACD>0 AND MACD2>REF(MACD2,1)  AND MACD2>0 ,-MACD/4,0,8,0),coloryellow;
STICKLINE(MA(C,1)<REF(MA(C,1),1) AND MA(C,1)<REF(MA(C,1),2)  AND MACD<REF(MACD,1) AND MACD<0 AND MACD2<REF(MACD2,1)  AND MACD2<0 ,-MACD/4,0,8,0),colorblue;
STICKLINE(MA(C,1)>REF(MA(C,1),1) AND MA(C,1)>REF(MA(C,1),2)  AND MACD>0 AND MACD2>REF(MACD2,1)  AND MACD2<0 ,1.2*MACD,1.4*MACD,8,0),coloryellow;
STICKLINE(MA(C,1)<REF(MA(C,1),1) AND MA(C,1)<REF(MA(C,1),2)  AND MACD>0 AND MACD2<REF(MACD2,1)  AND MACD2<0 ,1.2*MACD,1.4*MACD,8,0),colorblue;
DRAWTEXT(CROSS(MACD ,0),MACD ,'▲'),colorred;
DRAWTEXT(CROSS(0,MACD ),MACD ,'▼'),colorgreen;
DRAWTEXT(MACD2>REF(MACD2,1),AVF,'+'),colorred;
DRAWTEXT(MACD2<REF(MACD2,1),AVF,'-'),colorgreen;
A01:=(C+O+L+H)/4;
A02:=(WINNER((A01 *  1.04)) *  100.000);
A03:=(WINNER((A01 *  0.96)) *  100.000);
A04:=A03,NODRAW;
DRAWTEXT(A04=0,0,'x');
Zero := 0;
VAR1:=LLV(LOW,13);
VAR2:=HHV(HIGH,13);
VAR3:=(SMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5,1)-50)/200;
VAR4:=(SMA((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1)-50)/200;
主△▽:=VAR3*C/10;
散:=VAR4*C/10;
FF:=主△▽>0;STICKLINE(Zero ,FF,RGB(0,255,0),1,RGB(255,0,0));
获利:=MA(A03,30);
//DRAWTEXT(A04<50 AND avf<0                AND AVF<REF(AVF,1) AND REF(AVF,1)>REF(AVF,2)       AND REF(AVF,2)>REF(AVF,3) AND REF(AVF,3)<REF(AVF,4)  AND 获利<REF(获利,1) AND 获利>10 AND 获利<50,AVF,'出'),colorgreen;
//DRAWTEXT(A04<50 AND AVF<0AND AVF>REF(AVF,1) AND REF(AVF,1)>REF(AVF,2)       AND REF(AVF,2)>REF(AVF,3) AND REF(AVF,3)<REF(AVF,4),AVF,'入'),colorgreen;
//DRAWTEXT(A04<50 AND AVF<0 AND MACD>0 AND AVF>REF(AVF,1) AND REF(AVF,1)>REF(AVF,2)       AND MACD <REF(MACD ,1)AND MACD <REF(MACD ,1) AND REF(MACD ,1)>REF(MACD ,2) AND REF(MACD ,2)>REF(MACD ,3)     AND C<REF(C,1)AND REF(C,1)>REF(O,1) ,AVF,'返'),colorgreen;
//DRAWTEXT(A04<50 AND AVF<0 AND MACD>0 AND AVF>REF(AVF,1) AND REF(AVF,1)>REF(AVF,2)       AND MACD <REF(MACD ,1) AND REF(MACD ,1)>REF(MACD ,2) AND REF(MACD ,2)>REF(MACD ,3)     AND C<REF(C,1)AND REF(C,1)<REF(O,1)  ,AVF,'套'),colorgreen;
DRAWTEXT(A04>20 AND MACD<0 AND AVF>0             AND AVF<REF(AVF,1) AND REF(AVF,1)>REF(AVF,2) AND REF(AVF,2)<REF(AVF,3) ,AVF,'选');
DRAWTEXT(A04>80 AND MACD>0  AND AVF>0           AND AVF<REF(AVF,1) AND REF(AVF,1)>REF(AVF,2) AND REF(AVF,2)>REF(AVF,3) ,AVF,'看空');
//DRAWTEXT(A04>50 AND A04<80 AND MACD>0            AND AVF>0 AND AVF<REF(AVF,1) AND REF(AVF,1)>REF(AVF,2) AND REF(AVF,2)>REF(AVF,3) ,AVF,'出'),colorgreen;
DRAWTEXT(A04>50 AND AVF>0 AND MACD>0            AND AVF<REF(AVF,1) AND REF(AVF,1)>REF(AVF,2) AND REF(AVF,2)>REF(AVF,3) AND CROSS(80,AVF),AVF,'逃');
DRAWTEXT(A04>50 AND AVF>0                       AND AVF<REF(AVF,1) AND REF(AVF,1)>REF(AVF,2) AND REF(AVF,2)>REF(AVF,3) AND CROSS(80,AVF),AVF,'逃');
DRAWTEXT(A04>50 AND AVF>0 AND CROSS(0,MACD)     AND AVF<REF(AVF,1) AND REF(AVF,1)>REF(AVF,2) AND REF(AVF,2)>REF(AVF,3),AVF,'逃');
//DRAWTEXT(AVF<0 AND MACD>0                    AND AVF>REF(AVF,1) AND CROSS(A04,50),1.2*AVF,'主1'),colorgreen;
//DRAWTEXT(AVF>0 AND MACD>0                    AND AVF>REF(AVF,1) AND CROSS(A04,50),1.2*AVF,'主2'),colorgreen;
//DRAWTEXT(AVF>0 AND MACD>0                    AND AVF>REF(AVF,1) AND CROSS(REF(A04,1),50) AND A04>50,1.2*AVF,'多'),colorgreen;
//DRAWTEXT(AVF>0 AND MACD>0                    AND AVF>REF(AVF,1) AND CROSS(REF(A04,1),50) AND  A04<50,1.2*AVF,'空'),colorgreen;
U:=(1+7/100)*MA(CLOSE,5);
D:=(1-3/100)*MA(CLOSE,5);
E:=(U+D)/2;
A01:=(C+O+L+H)/4;
A02:=(WINNER((A01 *  1.05)) *  100.000);
A03:=(WINNER((A01 *  0.95)) *  100.000);
A04:=A03,NODRAW;
A08:=A02-A03,NODRAW;
A06:=( 100.000 - A02),NODRAW;
获利:=MA(A03,30);
DRAWTEXT(U>REF(U,1)AND C>=E AND MA(C,1)>REF(MA(C,1),1) AND MA(C,1)>REF(MA(C,1),2)   AND MACD>REF(MACD,1) AND MACD<0,1.2*MACD,'U'),colorred;
DRAWTEXT(U>REF(U,1)AND C<E  AND MA(C,1)>REF(MA(C,1),1) AND MA(C,1)>REF(MA(C,1),2)   AND MACD>REF(MACD,1) AND MACD<0,1.2*MACD,'M'),colorgreen;
//DRAWTEXT(获利>REF(获利,1)AND MA(C,7)>MA(C,120),1.4*MACD,'+');
DRAWTEXT(CROSS(A04,50),1.4*AVF,'★');
DRAWTEXT(CROSS(50,A04),1.4*AVF,'☆');
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
CCI长:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
CCI3:=EMA(CCI长,10);
DRAWTEXT(CROSS(-100,CCI长),AVF,'A');
DRAWTEXT(CROSS(CCI长,-100),AVF,'B');
DRAWTEXT(CROSS(CCI长,100),AVF,'C');
DRAWTEXT(CROSS(100,CCI长),AVF,'S');
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,28);
PP:=IF(MACD>0,MACD,ABS(MACD));
RR:=MA(ABS(PP),500);
EDO:=(OBV-MAOBV)/1000000000*RR*10;
//DRAWTEXT(CROSS(EDO,0),0,'↑');
[url=http://www.70822.com/soft/sort013/sort036/down-160178.html]CDMA(同花顺公式 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:58.59375 毫秒