同花顺投机指标
源码
投机5:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),Color0080FF;
投机10:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),ColorRED;
投机20:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),ColorFF8000;
投机30:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),Color00FFFF;
TJ_5:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
TJ_10:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
TJ_20:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
TJ_30:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
投机1:(TJ_5=100 AND TJ_10=100 AND TJ_20=100 AND TJ_30=100 ),linethick4;
DRAWTEXT(投机1,100,'投1'),COLORF00FF0;
TJ_1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
TJ_2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
TJ_3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
TJ_4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
投机2:TJ_1=100
20,linethick1,colorf00ff0; 50,linethick1,colorFF8000; 80,linethick1,colorred;0,linethick1,colorE00F00;