Current location - Trademark Inquiry Complete Network - Tian Tian Fund - The expert helps to write a stock selection formula (the SCR chip concentration index at the close of the day is greater than the previous day, and the change range is greater than 1).
The expert helps to write a stock selection formula (the SCR chip concentration index at the close of the day is greater than the previous day, and the change range is greater than 1).
There are some flaws in your understanding and requirements. According to your original intention, I think the stock selection formula has great defects. If you choose stocks by it, it is inefficient and ineffective. Based on the above reasons, I have made some changes, and the overall idea has changed slightly, but it is more practical. I pressed the name myself. Parameter: p 1 {0, 100,90} The formula is as follows: a: = p1+(100-p1)/2; b:=( 100-p 1)/2; CC:= cost (a); DD:= cost (b); ↑ 1:IF((CC-DD)/(CC+DD)* 100/2 & gt; REF((CC-DD)/(CC+DD)* 100/2,BARSCOUNT(C)- 1)+ 10, 1,0); If you want to see the SCR value in the stock selection column, you can use the following formula: a: = p1+(100-p1)/2; b:=( 100-p 1)/2; CC:= cost (a); DD:= cost (b); SCR 1:(CC-DD)/(CC+DD)* 100/2; SCR2:REF(SCR,bars count(C)- 1)+ 10; ↑ 1:IF(scr6 5438+0 & gt; SCR2, 1,0); After stock selection, the speculative value of ↑ 1 stock will be greater, and vice versa! I hope I can help you!