想請這個布林線指標為何只有日線,週線,月線才會顯示,用60分鐘或更小的時區不會顯示
input:
Length(52, "天數"),
UpperBand(2, "up_bar"),
LowerBand(2, "low_bar");
variable: MA(0.0), up(0.0), down(0.0), Price_1(0.0);
Price_1 = Close;
up = bollingerband(Price_1, Length, UpperBand);
down = bollingerband(Price_1, Length, -1 * LowerBand);
MA = (up+down)/2.0;
Plot1(up,"BB_UP");
Plot2(down,"BB_LO");
Plot3(MA,"BB_MA");
1 評論