{ 股票指标 }
{愚公财神}
LC:= REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
买:EMA(RSI1,2),COLORRED,LINETHICK1;
卖:EMA(RSI2,5),LINETHICK1,COLORFFFF00;
Q2:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
Q3:=SMA(Q2,2,1);
Q4:=SMA(Q3,2,1);
长趋势:3*Q3-2*Q4,COLORWHITE,LINETHICK1;
趋势线:EMA(Q3,3),COLORRED,LINETHICK1;
DRAWBAND(长趋势,RGB(120,20,20),趋势线,RGB(20,120,20));
DRAWBAND(买,RGB(250,20,20),卖,RGB(20,250,20));
P2:=IF(BARSLAST(CURRBARSCOUNT=25),15,0);
标签:愚公,Q3,20,LC,RGB,通达信,源码,CLOSE,SMA From: https://www.cnblogs.com/zhibiao/p/18008658