Current location - Trademark Inquiry Complete Network - Futures platform - When "Line A" crosses Ji 'an Line, how to convert the index formula of Tong Daxin Ji 'an Line into the stock selection formula? It's not the source code, it's the stock selection formula when crossing
When "Line A" crosses Ji 'an Line, how to convert the index formula of Tong Daxin Ji 'an Line into the stock selection formula? It's not the source code, it's the stock selection formula when crossing
When "Line A" crosses Ji 'an Line, how to convert the index formula of Tong Daxin Ji 'an Line into the stock selection formula? It's not the source code, it's the stock selection formula when crossing. The Ji 'an line is a technical indicator for analyzing stocks.

Usage of indicators: automatically adjust the parameters with the market, long above the Ji 'an line and short below the Ji 'an line.

Index Description: After the opening of Ji 'an Line, the thick line in the middle is Ji 'an Line, and the auxiliary lines are wound up and down.

Apply rules:

Hold the money and wait and see stage: When the Ji 'an line is blue and the auxiliary line is green, you must wait and see outside and never enter the market.

Resolutely buying stage: Ji 'an line goes flat, auxiliary line crosses Ji 'an line, colleague Ji 'an line turns pink, and auxiliary line turns yellow.

Resolutely sell stage: the auxiliary line crosses the Ji' an line to form a dead fork, and it is resolutely sold when the Ji' an line turns blue.

You open index management, create a new stock selection index, and enter the following source code.

AA:= ABS((2 * close+high+low) /4-MA (close, N))/MA (close, n);

Ji 'an line: DMA ((2 * near+low+high) /4, AA), line thickness 3, magenta color;

CC:= (Close/Ji 'an Line);

MA 1:= MA(CC *(2 * close+high+low)/4,3);

MAAA:=((MA 1- Ji 'an Line)/Ji 'an Line)/3;

TMP:= ma 1-MAAA * ma 1;

j:= IF(TMP & lt; = Ji 'an line, Ji 'an line, DRAWNULL), LINETHICK3, COLORCYAN

A:=TMP,LINETHICK2,COLORYELLOW

x:= IF(TMP & lt; = Ji 'an line, tmp, empty), line thickness 2, color green;

XG: cross (a, Ji' an line);