On behalf of the stock selection formula to do, to write a straight flush stock selection formula

Pulled up before the main principles of analytical indicators Source:
VAR1 :( assignment + lowest closing price + highest price) / 3

Doing some stock selection formula, commissioning Flush stock selection formula to help make index formula, the main force pulled up (Figure vice chart indicators formula formulas, source code, no future)
VAR2 assignment: (VAR 1-1 before the minimum price - (the highest price -VAR1 )) * volume (hand) / 100 000 / (highest price - lowest) history tired and
VAR3 assignment: VAR2 1st exponential moving average
VAR4 assignment: VAR3
VAR5 assignment: VAR3 of 12 simple moving average
VAR6 assignment: VAR3 26th simple moving average
Var7 assignment: (VAR4-VAR5) * 60
output main pulled up: If VAR7> 0.05, Var7 returned, otherwise 0, a line width of 2
VAR8 assignment: (VAR5-VAR6) * 30
output averages: If VAR8> 0.05, returns VAR8, otherwise 0, a line width of 2
VAR9 assignment: the current flow of capital (hand) / volume (hand) 5-day exponential moving average /30*1.1
output line lock: VAR9
output VARA: if wear on VAR7 VAR9, return 50, otherwise it returns 0
VARA 7th filter: output concerned
when the condition concerned = 50, 0 position draw No. 1 icon
assignment vARB: moving average on the 21st index of 500 days, the highest price of the highest value
VARC assignment: the 21st highest index value of 250 days, the highest price moving average
VARD assignment: 21, 90 days, the highest price of the highest value The number of moving average
VARE assignment: 21 Index of the lowest minimum 500 days moving average
VARF assignment: 21 Index of the lowest minimum 250 days moving average
VAR10 assignment: 21 lowest index value of the lowest price within 90 days of moving average
VAR11 assignment: (VARE * 0.96 + VARF * 0.96 + VAR10 * 0.96 + VARB * 0.558 + VARC * 0.558 + VARD * 0.558) 21 period index / 6 moving average
VAR12 assignment: (VARE * 1.25 + VARF * 1.23 + VAR10 * 1.2 + vARB * 0.55 + VARC * 0.55 + VARD * 0.65) 21 period index / 6 moving average
VAR13 assignment: (VARE * 1.3 + VARF * 1.3 + VAR10 * 1.3 + vARB * 0.68 + VARC * 0.68 + VARD * 0.68) index 21/6 moving average
VAR14 assignment: (VAR11 * 3 + VAR12 * 2 + VAR13) /6*1.738 exponential moving average of 21
VAR15 assignment: the 1st is lowest
VAR16 assignment: the absolute value of the lowest -VAR15 the 3 [1 weight] 3 moving average / low -VAR15 and larger values 0 [1 weight] 100 moving average *
VAR17 assignment: 1.3550 * if the closing price, return 50, otherwise VAR1B
bottom output accumulation: when conditional VAR1C> 0, between 0 and VAR1C columnar line drawing position, a width of 4,1 0 Videos not open bars.
tipText (the ISNULL (future closing price. 1), 0, '' ), painted red
 
source:
 
 
VAR1: = (the CLOSE + the LOW + HIGH) /. 3;
VAR2: = the SUM ((VAR1-the REF (the LOW,. 1) - (HIGH-VAR1)) * the VOL / 100000 / (HIGH-the LOW) , 0);
var3: EMA = (VAR2,1);
VAR4: = vAR3;
VAR5: MA = (VAR3,12);
VAR6: = MA (VAR3,26);
VAR7: = (VAR4-VAR5) * of 60;
zhu_li la_sheng: IF (VAR7> 0.05, VAR70), LINETHICK2;
VAR8: = (VAR5-VAR6) * 30;
jun_xian: IF (VAR8> 0.05, VAR80), LINETHICK2;
VAR9: = CAPITAL / EMA (VOL, 5) 3011;
tao_lao xian: VAR9;
VARA: IF (CROSS (VAR7, VAR9), 500);
guan_zhu: FILTER (VARA, 7);
DRAWICON (关注= 50,0,1);
VARB: = EMA (HHV (HIGH , 500), 21);
VARC: = EMA (HHV (HIGH , 250), 21);
VARD: = EMA (HHV (HIGH , 90), 21);
VARE: = EMA (LLV (LOW , 500), 21);
VARF: = EMA (LLV (LOW , 250), 21);
VAR10: = EMA (LLV (LOW , 90), 21);
VAR11: = EMA ((VARE * 0.96 + VARF * 0.96 + VAR10 * 0.96 + VARB * 0.558 + VARC * 0.558 + VARD * 0.558) / 6,21);
VAR12: = EMA ((VARE * 1.25 + VARF * 1.23 + VAR10 * 1.2 + VARB * 0.55 + VARC * 0.55 + VARD * 0.65) / 6,21);
VAR13:=EMA((VARE*1.3+VARF*1.3+VAR10*1.3+VARB*0.68+VARC*0.68+VARD*0.68)/6,21);
VAR14:=EMA((VAR11*3+VAR12*2+VAR13)/6*1.738,21);
VAR15:=REF(LOW,1);
VAR16:=SMA(ABS(LOW-VAR15),3,1)/SMA(MAX(LOW-VAR15,0),3,1)*100;
VAR17:=EMA(IF(CLOSE*1.3550,50,VAR1B);
底部吸筹: STICKLINE(VAR1C>0,0,VAR1C,4,1);
TIPTEXT(ISNULL(REFX(CLOSE,1)),0,' '),colorred;
TIPTEXT(ISNULL(REF(CLOSE,1)),0,'');

1, Blue Butterfly software studio, now has more than 500 sets for custom-designed software, OUR professional custom ERP, OA, inventory management systems, data and statistical analysis, database maintenance, API docking.
2, big data processing and analysis (10G text file) and excel treatment.
3, Acesss, MSSQL, SQLServer, maintenance and database design Oracle databases, promotion and so on.
4, and do Mastery letter writing, pyramids, TB and other indicators formula, quantify development.
5 and sincerely for your service is the purpose of this studio.
6, the article is reprinted Internet article, which is for information purposes only and does not constitute investment advice.
If necessary, add QQ: 88652583 or WeChat: 88652583 

Guess you like

Origin www.cnblogs.com/stockwriter/p/12146553.html