同花顺奥斯卡副图指标
源码
LC:=REF(CLOSE,1);
RSI5:=(SMA(MAX(CLOSE-LC,0),3,1))/(SMA(ABS(CLOSE-LC),3,1))*100;
WR10:=100*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
活跃度:=RSI5-WR10,LINETHICK0,coloryellow;
PARTLINE(活跃度,活跃度>REF(活跃度,1),RGB(250,0,0),活跃度<=REF(活跃度,1),RGB(0,0,250)),LINETHICK3;
STICKLINE(活跃度>0,0,活跃度,8,1),ColorFF0B85;
STICKLINE(活跃度>0,0,活跃度,6,1),ColorFF44A2;
STICKLINE(活跃度>0,0,活跃度,4,1),ColorFF66B3;
STICKLINE(活跃度<0,0,活跃度,8,0),ColorC6C600;
STICKLINE(活跃度<0,0,活跃度,6,0),ColorF2F200;
STICKLINE(活跃度<0,0,活跃度,4,0),ColorFFFF2F;
STICKLINE(活跃度>68 AND 活跃度<78,0,活跃度,8,0),Color0000CC;
STICKLINE(活跃度>68 AND 活跃度<78,0,活跃度,6,0),Color0000F9;
STICKLINE(活跃度>68 AND 活跃度<78,0,活跃度,4,0),Color2828FF;
STICKLINE(活跃度>78,0,活跃度,8,0),Color00C4C4;
STICKLINE(活跃度>78,0,活跃度,6,0),Color00F2F2;
STICKLINE(活跃度>78,0,活跃度,4,0),Color28FFFF;
SC:100*(CLOSE-MA(CLOSE,20)),Color24FFFF;
MAO:EMA(SC,6),Color58FF20;