当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:趋势A(同花顺公式 副图 源码 测试图)
软件名称:[B]趋势A(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2020-04-24 00:12:10
软件简介:
B1:=MA(C,1);
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1) ;
SMA2:=MA(B2,3) ;
停损下限:IF(LLV(MA(B2,7),3)<B2,LLV(MA(B2,7),3),B2),coloryellow;
FILLRGN(b2,sma2,b2>sma2,RGB(255,0,0),b2<SMA2,RGB(0,255,0));
snakeA:HHV(MA(B2,1),13),coloryellow;
Var1:=(2*CLOSE+HIGH+LOW)/4;
Var2:=MA(Var1,7);
//www.70822.com
Var3:=Var2-MA(Var1,7/2)<0;
Var4:=Var2-MA(Var1,7/2)>0;
Var5:=BARSLAST(Var3);
Var6:=0-BARSLAST(Var4);
Var7:=IF(Var3<=0,Var5,Var6);
STICKLINE(snakea>b2 AND b2>SMA2,snakea,b2,1,1),colorwhite;
STICKLINE(snakea>SMA2 AND b2<SMA2,SNAKEA,SMA2,1,1),colorwhite;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,9,0),colormagenta;
C3:=REF(C,1);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,9,0),colorgreen;
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
k=SMA(RSV,3,1);
D=SMA(K,3,1);
MD:=2*(K-D);
DIFF : =EMA(CLOSE,12) - EMA(CLOSE,26),colorred;
DEA : =EMA(DIFF,9),colorliblue;
MACD:=2*(DIFF-DEA);
主力重仓买:(MACD>=0 AND MACD>=REF(MACD,1)) AND (MD>0 AND MD>=REF(MD,1)),nodraw,coloryellow;
主力轻仓买:(MACD>=0 AND MACD>=REF(MACD,1)) AND (MD<0 AND MD>=REF(MD,1)),nodraw,colorgreen;
减仓或清仓:(MACD>=0 AND MACD>=REF(MACD,1)) AND (MD>0 AND MD<=REF(MD,1)),nodraw,colorwhite;
[url=http://www.70822.com/soft/sort013/sort036/down-147110.html]趋势A(同花顺公式 副图 源码 测试图)[/url]