hballa 36 posts msg #161240 - Ignore hballa |
7/15/2024 6:10:08 PM
Hi,
I tried modifying snappyfrog's beautiful script, but able to modify one condition.
set{var1, count(price above ma(10),1)}
set{var2, count(price above ema(10),1)}
set{var3, count(MACD Histogram(12,26,9) above 0,1)}
set{var4, count(Williams %R(14) above -20,1)}
set{var5, var1 + var2}
set{var6, var3 + var4}
set{buy, var5 + var6}
draw buy > 3.99
and buy 1 day ago < 3.99
draw ma(10)
draw ema(10)
draw MACD Histogram(12,26,9)
draw Williams %R(14) line 20
I am trying to add these 3 conditions to above script, but couldn't. Can you please help in adding these 3 conditions?
=============
and buy 1 day ago < 3.99 ==>3 buy signals last 3 days
draw ma(10) ==>price above MA 10 last 3 days
draw ema(10) ==>price above EMA 10 last 3 days
|