当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:红绿灯买卖(同花顺公式 副图 源码 测试图)
软件名称:[B]红绿灯买卖(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-04-17 00:13:41
软件简介:
//红绿灯买卖
RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FASTK:=SMA(RSV,3,1);
K:SMA(FASTK,3,1);
D:SMA(K,5,1),colorwhite;
A1:=LLV(LOW,999999);
A2:=HHV(HIGH,999999);
A3:=100/(A2-A1);
80,POINTDOT,LINETHICK2;
20,POINTDOT,LINETHICK2;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF(VAR9>100,VAR9-100,0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);
VAR14:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF
(INDEXC,1))/INDEXC,8,1)*100-25;
VAR15:=MA(VAR14,3);
VAR16:=REF(VAR15,1);
STICKLINE(VAR12-VAR13>0,VAR12,VAR13,8,0),colorred;
STICKLINE(VAR12-VAR13<0,VAR12,VAR13,8,0),colorgreen;
生命线:=EMA(VAR13,5);
STICKLINE(CROSS(VAR13,VAR12) AND VAR12>60,90,100,10,0),COLOR00FF00;
绿灯亮卖:0,COLOR00FF00;
STICKLINE(CROSS(VAR12,VAR13) AND VAR12>VAR13 AND VAR12<18,10,0,10,0),colorred;
红灯亮买:0,colorred;
VAR21:=INDEXC;
VAR22:=MA(VAR21,6);
VAR23:=MA(VAR21,24);
VAR24:=MA(VAR21,32);
VAR25:=MA(VAR21,62);
VAR26:=MA(VAR21,105);
VAR27:=VAR25<REF(VAR25,1) AND VAR26<REF(VAR26,1) AND VAR25<VAR26*0.98;
VAR28:=VAR24>VAR22*1.11 AND VAR23>VAR22*1.095;
VAR29:=VAR22>VAR21*0.95;
抄底一:= VAR27 AND VAR28 AND VAR29 AND CLOSE/COST(8)<=0.8 AND CLOSE<OPEN;
STICKLINE(抄底一,40,60,1,1),COLORFF00FF;
VAR2A:=CLOSE/MA(CLOSE,40)*100<78;
VAR2B:=CLOSE/MA(CLOSE,60)*100<74;
VAR2C:=HIGH>LOW*1.051;
VAR2D:=VAR2C AND COUNT(VAR2C,5)>1;
VAR2E:=VAR2D AND (VAR2A OR VAR2B);
VAR2F:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VAR30:=(CLOSE-VAR2F)/VAR2F*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;
VAR31:=(CLOSE-REF(CLOSE,5))/CLOSE*100<-9;
VAR32:=WINNER(CLOSE);
VAR33:=EMA((INDEXC-MA(INDEXC,10))/INDEXC*100,14)<-4.9;
VAR34:=(MA(VOL,5)-VOL)/CAPITAL*100<0.8;
VAR35:=(VOL-MA(VOL,21))/VOL*100;
抄底二:= VAR33 AND VAR31 AND VAR32<0.12 AND VAR34 AND VAR35>18;
STICKLINE(抄底二,40,60,3,1),coloryellow;
VAR36:=(REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/5;
VAR37:=(REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6))/5;
VAR38:=(REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7))/5;
VAR39:=(REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8))/5;
VAR3A:=(REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8)+REF(CLOSE,9))/5;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
抄底三:=(VAR36/CLOSE>1.112 OR VAR37/CLOSE>1.123 OR VAR38/CLOSE>1.135 OR VAR39/CLOSE>1.145 OR VAR3A/CLOSE>1.156) AND BIAS3<=-20 AND COST(25)/CLOSE>=1.5 AND CLOSE<OPEN;
DRAWTEXT(抄底三,40,'注意'),COLOR0099FF;
VAR3B:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
抄底四:= FILTER(IF(CROSS(VAR3B,-28),1,0),8);
STICKLINE(CROSS(VAR3B,-28),40,50,8,1),colorwhite;
VAR3C:=DMA(EMA(CLOSE,13),SUM(VOL,5)/2/CAPITAL);
VAR3D:=(CLOSE-VAR3C)/VAR3C*100;
抄底五:= REF(VAR3D,1)<-35 AND VAR3D>REF(VAR3D,1) AND REF(VAR3D,1)<REF(VAR3D,2) AND VAR3D-REF(VAR3D,1)>2.5;
STICKLINE(抄底五,20,30,8,1),COLORFFCC66;
VAR3E:=100*WINNER(REF(CLOSE,1)*1.1)-100*WINNER(REF(CLOSE,1)*0.9);
抄底六:= CLOSE>OPEN*1.06 AND VAR3E<10;
STICKLINE(抄底六,10,20,8,1),colorblue;
[url=http://www.70822.com/soft/sort013/sort036/down-155355.html]红绿灯买卖(同花顺公式 副图 源码 测试图)[/url]