Paolo 9 posts msg #131606 - Ignore Paolo |
9/29/2016 6:49:38 PM
set{shortz,count(Stochastic %K(8,3,5) crossed below 80,1)}
set{short1,count(cci(20) crossed below 100,1)}
set{z,shortz+short1} and z > 1.2 and do not draw z
set{short2,count(MACD Histogram(12,26,9) < -0.03,1)}
set{z1,z+short2} and z1 > 2.2 and do not draw z1
set{aa,count(close 1 day ago > Upper Bollinger Band(20,2) 1 day ago,1)}
set{ab,count(close < Upper Bollinger Band(20,2),1)}
set{shor,aa+ab} and shor > 1.2 do not draw shor
set{shorrt,shor+z1}
set{short,count(shorrt > 4.2,1)} and draw short
add column short{short}
/*set{buy,count(Stochastic %K(8,3,5) crossed above 20,1}*/
draw Stochastic %K(8,3,5) line at 20 and draw Stochastic %K(8,3,5) line at 80
set{a1,count(Stochastic %K(8,3,5) crossed above 20,1)}
set{a2,count(cci(20) crossed above -100,1)}
set{a3,a1+a2} and a3 > 1.2 and do not draw a3
set{a4,count(MACD Histogram(12,26,9) > 0.03,1)}
set{a5,a3+a4} and a5 > 2.2 and do not draw a5
set{a6,count(close 1 day ago < lower Bollinger Band(20,2) 1 day ago,1)}
set{a7,count(close > lower Bollinger Band(20,2),1)}
set{a8,a6+a7} and a8 > 1.2 and do not draw a8
set{a9,a8+a5}
set{buy,count(a9 > 4.2,1)} and draw buy
add column buy{buy}
|