以下是同花顺奥斯卡副图指标
同花顺奥斯卡副图指标
源码
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),CulorFF0B85;
STICKLINE(活跃度>0,0,活跃度,6,1),CulorFF44A2;
STICKLINE(活跃度>0,0,活跃度,4,1),CulorFF66B3;
STICKLINE(活跃度<0,0,活跃度,8,0),CulorC6C600;
STICKLINE(活跃度<0,0,活跃度,6,0),CulorF2F200;
STICKLINE(活跃度<0,0,活跃度,4,0),CulorFFFF2F;
STICKLINE(活跃度>68 AND 活跃度<78,0,活跃度,8,0),Culor0000CC;
STICKLINE(活跃度>68 AND 活跃度<78,0,活跃度,6,0),Culor0000F9;
STICKLINE(活跃度>68 AND 活跃度<78,0,活跃度,4,0),Culor2828FF;
STICKLINE(活跃度>78,0,活跃度,8,0),Culor00C4C4;
STICKLINE(活跃度>78,0,活跃度,6,0),Culor00F2F2;
STICKLINE(活跃度>78,0,活跃度,4,0),Culor28FFFF;
SC:100*(CLOSE-MA(CLOSE,20)),Culor24FFFF;
MAO:EMA(SC,6),Culor58FF20;