AC-HTS
Params: 短均(5),長均(34)
Value1 = MA((H+L)/2,短均)
Value2 = MA((H+L)/2,長均)
Value3 = Value1-Value2
value4=MAFC((value3-MAFC(value3,5)),5)
DrawBase1(0, "0", DarkGray)
Draw1( value4, "AC", Iff(value4>Value4[1], Green,Red ), Default,5)
AC-TS
Vars:
AO(0),AC(0);
{Awesome Oscillator}
AO=Average((h+l)/2,5)-Average((h+l)/2,34);
{Accelerator/Decellerator Oscillator}
AC=AO-Average(AO,5);
if currentbar>=5 then
if AC>AC[1] then plot1(AC,"+AC")
else plot2(AC,"-AC"); Plot3(0,"");
AO-HTS
Params: 短均(5),長均(34)
Value1 = MA((H+L)/2,短均)
Value2 = MA((H+L)/2,長均)
Value3 = Value1-Value2
value4=MAFC((value3-MAFC(value3,5)),5)
DrawBase1(0, "0", DarkGray)
Draw1( value3, "AO", Iff(value3>Value3[1], Green,Red ), Default,5)
AO-TS
Vars: AO(0),AC(0);
{Awesome Oscillator}
AO=Average((h+l)/2,5)-Average((h+l)/2,34);
{Accelerator/Decellerator Oscillator}
AC=AO-Average(AO,5);
if currentbar>=1 then
if AO>AO[1] then plot1(AO,"+AO")
else plot2(AO,"-AO") ;
Plot3(0,"");
鱷魚-HTS
Variables:M(0),B(0),R(0),G(0)
M = (H + L ) *0.5;
B = Sma(M,13);
R = Sma(M,8);
G = Sma(M,5);
Draw1[-8](B,"顎",blue,5)
Draw2[-5](R,"齒",red,5)
Draw3[-3](G,"唇",green,5)
鱷魚-TS
variables:
Jaws(0), Lips(0), Teeth(0);
Jaws=SmoothedAverage(close, 13)[ 8];
Lips=SmoothedAverage(close, 8)[5];
Teeth=SmoothedAverage(close, 5)[3];
Plot1(Jaws, "Jaws");
Plot2(Lips, "Lips");
Plot3(Teeth, "Teeth");
留言列表