Traditional Culture Encyclopedia - Traditional stories - Formula for finding average line angle of communication signal

Formula for finding average line angle of communication signal

The indicators sent here are all computer version software of address book type, and some mobile phone software may not be universal. If the indicator has already set parameters, novices don't know how to go back to the "indicator help" under the official account menu of WeChat or reply to the keyword "indicator help" to see the tutorial.

Description:

Sub-graph indicators, the greater the angle, the more fierce the breakthrough.

example

Source code:

Bull-bear dividing line: = DMA (Ma (close+ref (close, 5)/close * 0.098,90), vol);

Year line: = DMA (ma (close+ref (close, 5)/close * 0.098,250), vol);

CC:= ABS((2 * close+high+low) /4-MA (close, 20))/MA (close, 20);

DD:=DMA(CLOSE,CC);

Upper track: (1+7/ 100) * DD, with no draw and yellow color;

Lower rail: = (1-7/100) * DD;

Middle rail: = (upper rail+lower rail)/2;

AA:= upper rail > REF (upper rail,1);

aa 1:= C & gt; Bull-bear dividing line and bull-bear dividing line > annual line;

Breakthrough: = C> upper orbit and AA and aa1;

Average angle of MA5: (atan ((ma (closing, 5)/ref (ma (closing, 5),1)-1) *100) *13.

Average angle 30:=MA5 average angle > 30 and MA5 moving average angle < 35, NODRAW.

Average angle 35:=MA5 average angle > 35 and MA5 moving average angle < 40, NODRAW.

Average angle 40:=MA5 average angle > 40 and MA5 moving average angle < 45, NODRAW.

Average angle 45:=MA5 average angle > 45 and MA5 moving average angle < 50, NODRAW.

Average angle 50:=MA5 average angle > 50 and MA5 moving average angle < 55, NODRAW.

Average angle 55:=MA5 average angle > 55 and MA5 moving average angle < 60, NODRAW.

Average angle 60:=MA5 average angle > 60 and MA5 moving average angle < 65, NODRAW.

Average angle 65:=MA5 average angle > 65 and MA5 moving average angle < 70, NODRAW.

Average angle 70:=MA5 average angle > 70 and MA5 moving average angle < 75, NODRAW.

Average angle 75:=MA5 average angle > 75 and MA5 moving average angle < 80, NODRAW.

Average angle 80:=MA5 average angle > 80 and MA5 moving average angle < 85, NODRAW.

{Angle signal of moving average}

DRAWTEXT(EXIST (2) and average angle 30, 34,' 30'), colorblue.

DRAWTEXT(EXIST (2) and average angle 30,365,438+0, '∞');

DRAWTEXT (existence (2) and average angle 35, 34,' 35'), colorblue

DRAWTEXT(EXIST (2) and average angle 35,365,438+0, '∞');

DRAWTEXT (existence (2) and average angle of 40, 34,' 40'), color;

DRAWTEXT(EXIST (2) and average angle 40,365,438+0, '∞');

DRAWTEXT(EXIST (2) and average angle 45, 34,' 45'), color;

DRAWTEXT(EXIST (2) and average angle 45,365,438+0, '∞');

DRAWTEXT(EXIST (2) and average angle 50, 34,' 50'), COLORMAGENTA

DRAWTEXT(EXIST (2) and average angle 50,365,438+0, '∞');

DRAWTEXT(EXIST (2) and average angle 55, 34,' 55'), COLORMAGENTA

DRAWTEXT(EXIST (2) and average angle 55,365,438+0, '∞');

DRAWTEXT (existence (2) and average angle 60, 34,' 60'), COLORYELLOW

DRAWTEXT(EXIST (2) and average angle 60,365,438+0, '∞');

DRAWTEXT (existence (2) and average angle 65, 34,' 65'), COLORYELLOW

DRAWTEXT(EXIST (2) and average angle 65,365,438+0, '∞');

DRAWTEXT (existence (2) and average angle 70, 34,' 70'), with green color;

DRAWTEXT(EXIST (2) and average angle 70,365,438+0, '∞');

DRAWTEXT (existence (2) and average angle 75, 34,' 75'), color;

DRAWTEXT(EXIST (2) and average angle 75,365,438+0, '∞');

DRAWTEXT (existence (2) and average angle of 80, 34,' 80'), color;

DRAWTEXT(EXIST (2) and average angle 80,365,438+0, '∞'); {Breakthrough signal}

DRAWICON (Breakthrough, 18,1);

STICKLINE (breakthrough, 0, 16, 1 0), colorwhite

DRAWTEXT (breakthrough, 27,' suddenly'), COLORWHITE

DRAWTEXT (breakthrough, 23,' broken'), COLORWHITE