Current location - Loan Platform Complete Network - Foreign exchange account opening - Please master an exponential formula for compiling and accessing.
Please master an exponential formula for compiling and accessing.
The first formula is: choose the time when the 30-day moving average crosses the 250-day moving average.

X 1:CROSS(MA(C,30),MA(C,250));

The second formula is: the stock price falls back above the 250-day moving average for more than 15 trading days, and fluctuates sideways within the range of 15%.

M250:=MA(C,250);

t:= bars last(H & lt; m250);

HH:=HHV(H, 15);

LL:=LLV(L, 15);

HHT:=HHV(H,T+ 1);

x 1:= T & gt; 15;

X2:=LLV(L,5)= LL;

X3:= HHT * 0.9 & gt; HH;

x4:=(HH-LL)/HH & lt; 15/ 100;

ZRXG:x 1 * X2 * X3 * X4;

For example, the following signal