Deviation is a method of morphological analysis.
If you want to edit the deviation into a stock selection formula, you need to confirm how you judge the deviation from the standard and convert the judgment method into specific conditions.
For example, in the figure, when the rsi deviates from the marking index, it is judged by the lowest point when the dead fork appears twice, and when the golden fork appears, it means that the deviation has already occurred.
The effect in the picture is that
You can contact me privately if you have any questions.
The yellow arrow is the difference greater than 10, and the white arrow is the simple ratio.
Parameter n is the result of dividing by 2 in recent days. If it is in the last six days, fill in 3.
n:= 3;
XG 1:LLVRSI 1, n) > reference (LLV(RSI. RSI 1,N),N- 1)? And then what? LLV(L,N)& lt; REF(LLV(L,N),N- 1);
XG2:LLV(RSI。 References (LLV. RSI 1,N),N- 1)> 10? And then what? LLV(L,N)& lt; REF(LLV(L,N),N- 1);
If you want to use it, just put an equal sign after another colon.
This deviation judgment is too simple, and the accuracy has not been measured.