-
aa:=close/ref(close,1)>;
bb:=low/ref(high,1)>1 and low/ref(high,1)<;
cc:=close2;
**:aa and bb and cc and dd;
ee:=close/ref(close,1)< and ref(open,1)/ref(close,1)<1 and ref(close,2)/ref(close,3)<;
ff:=ref(high,2)>hhv(high,12);
gg:=ref(close,2)/ref(close,3)<1 and ref(close,1)/ref(close,2)>1 and ref(low,1)/ref(low,2)<1; xh1:=ee and ff and gg;
hh:=close/(ref(close,1)+ref(open,1))<
xh2:=ee and hh;
kk:=amount>ref(amount,1) and amount>ref(amount,2) and ref(amount,2)xh3:=ee and kk;
Sell: xh1 or xh2 or xh3;
This is fine, but your indicator is not good, the selling is very inaccurate, and the profit is too small.
-
This formula of the letter can be modified into a formula of great wisdom. No problem.
The following figure is the position chart of Tongdaxin's stock selection results and the stock selection position chart of Great Wisdom.
-
It is okay to modify the formula of Tongdaxin into the formula of great wisdom, is it used for stock selection?
-
I got it for you, and the test passed:
a:= "sh000001$close";
Intensity: mA(C a*10000,n);
Intensity 1: mA(C A*10000, N1);
-
What does it mean to show invalid? I tried the formula to pass.
Are you unable to display the formula in Great Wisdom or invalid as shown in the screenshot?
The formula itself is correct, and the invalidity in your screenshot is because you did not choose to execute it during your debugging process, so even the ** price of the first step to get the certificate is invalid.
In addition, in the process of debugging, "Strength 1" cannot get a valid value, no matter what moving average can get a value ("Strength" is an exception, because your n takes 1, that is, there is no moving average at all, hehe).
-
Changed as follows: (Great wisdom passed, if it helps you, answer, thank you).
x:=c>=,120) and ma(c,120)>=ref(ma(c,120),1);
y:=ma(c,40)>=ref(ma(c,40),1);z:=ma(c,60)>ma(c,120);
wr:=100*(hhv(high,10)-close)/(hhv(high,10)-llv(low,10));
a:=wr-80;
aa:=max(a,0);
b:=(c/ma(c,60))-1;
cc:=1-b;
d:=max(aa*z,0);
stickline(d>,0,d,1,0),coloryellow;
e:=ma(c,2)-ma(c,10);
f:=ma(e,2);
stickline(e>f and y and ref(d,1)>=9,0,d+9,1,0),colorred;
stickline(ma(c,40)>=ref(ma(c,40),1),0,1,15,0),colorlimagenta;stickline(ma(c,40)f and y and ref(d,1)>=9,0,d),coloryellow,linethick1;
Main attack: if(e>f and y and ref(d,1)>=9,d+9,0),colorred,linethick2;
Battle phase: if(ma(c,40)>=ref(ma(c,40),1),1,0),colorff5500,linethick1;
Rest stage: if(ma(c,40)>=ref(ma(c,40),1),0,1),colorgreen,linethick1;
30,colorblack;
If you don't want to see any line, change the last value of the linethick1 function to 0).
A1 means that the difference between the ** price and the opening price is less than and the highest and lowest price (i.e., the fluctuation range) is greater than 2%, which is the meaning of the doji. >>>More
There are two ways to add a custom formula:
The first way, source code addition, is the source code you copy on the Internet, specific operations: >>>More
On the day of the subscription date of the new shares, you can directly enter the subscription**, and submit the issuance** and the subscription quantity. >>>More
Great Wisdom Classic Software Description:
Key features of the software: >>>More
This can be used by moving the cursor over a certain area of history to determine which segment.