太阳=LLV(CLOSE,10);
支撑一=LLV(CLOSE,10);
支撑二=LLV(CLOSE,30);
支撑三=LLV(CLOSE,60);
收盘价超买:(CLOSE-太阳)/太阳*100;
最低价超买:(LOW-太阳)/太阳*100;
暴富线=20;
发财线=10;
买入线=0;
卖出线=30;
PARTLINE(发财线,CLOSE=0,RGB(255,0,0),CLOSE=0,RGB(0,255,0),1,RGB(255,0,204));
PARTLINE(暴富线,CLOSE=0,RGB(255,0,0),CLOSE=0,RGB(0,255,0),1,RGB(0,255,255));
PARTLINE(买入线,CLOSE=0,RGB(255,0,0),CLOSE=0,RGB(0,255,0),1,RGB(255,255,255));
PARTLINE(卖出线,CLOSE=0,RGB(255,0,0),CLOSE=0,RGB(0,255,0),1,RGB(255,255,255));
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
a=SMA(RSV,3,1);
b=SMA(a,3,1);
K=a;
D=b;
KDJ金叉:IF(K>=D,30,-3);
////////////////////////////////////////////////////
DIFF=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA=EMA(DIFF,9);
MACD=2*(DIFF-DEA);
DIFF零上:IF(DIFF>=0,20,-3);;