Formula Writing 1000 Questions 67-69

67. Question:
Please change to fxj’s Bollinger middle line:=MA(CLOSE,20); Bollinger upper bound:=Bollinger middle line+STD(CLOSE,20); Bollinger lower bound:=Bollinger band Midline-STD(CLOSE,20); BB0:=100*(CLOSE-Bollinger Midline)/STD(CLOSE,20) 100; BB1:=EMA(BB0,3); MID:=MA(CLOSE,34) ; BBAND:=100 2 STD(CLOSE,34)/MID; A:=Bollinger band upper bound-REF(Bollinger band upper bound,1)>0 AND Bollinger band lower bound-REF(Bollinger band lower bound,1 )>0 AND Bollinger Middle Line- REF(Bollinger Middle Line,1)>0 AND BBAND>12 AND BB1>80; YLP—Dark Horse Start: IF(A,1,0),STICK; STICKLINE(A,1 ,0,8,0),COLORRED; Answer (Anonymous Shanren): Middle Bollinger Band:=MA(CLOSE,20); Upper Bollinger Band:=Mid Bollinger Band+STD(CLOSE,20); Bollinger lower bound:=Bollinger middle-STD(CLOSE,20); BB0:=100 (CLOSE-Bollinger middle)/STD(CLOSE,20) 100; BB1:=EMA(BB0,3); MID: =MA(CLOSE,34); BBAND:=100 2*STD(CLOSE,34)/MID; A:=Bollinger band upper bound-REF(Bollinger band upper bound,1)>0 AND Bollinger band lower bound- REF(Bollinger lower bound,1)>0 AND Bollinger middle- REF(Bollinger middle,1)>0 AND BBAND>12 AND BB1>80; dark horse start: IF(A,1,0),STICK ; STICKLINE(A,1,0,8,0),COLORRED;
68. Q:
Please change to DZH or Feihu, thank you
Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100; Institutional short energy
line: SMA(Var1,3,1),colorgreen;
Var2: =(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; Institutional long energy line:
SMA(Var2,5,1)-8,colorred;
SETLINEWIDTH (20,1,1),COLORWHITE;
SETLINEWIDTH(80,1,1),COLORWHITE;
Answer (lazy):
Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV( LOW,36))*100;
Institutional short energy line: SMA(Var1,3,1),colorgreen;
Var2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW, 9))*100;
Institutional long energy line: SMA(Var2,5,1)-8,colorred;

QUOTE:

69. Question:
I want to compile early warning indicators one by one. The upside angle of individual stocks is greater than 55 degrees.
Answer (vkioli2):
I don’t know what data is used to calculate the “upside angle of individual stocks”. Here we take the 5-day moving average as an example.
a:=ma(c,5);
jd:atan((a/ref(a,1)-1)*100)*57.2956>55;

Guess you like

Origin blog.csdn.net/qq974416775/article/details/129764984