♥ 0 |
Hello Hahn, when looking to trade a stock a lot of traders look at a stocks previous history for the potential of the stock running up and making large moves to the upside. Condition: How many times in the past year (1year 1day chart) has the stock spiked up 30% or more. defSpike condition
Marked as spam
|
Please log in to post questions.
Is the code taking into account the volume condition, my bad I may have not included it in the new post
Open < high The high is at least 30% or greater than the open The stock has at least 1million shares of daily volume.
Replace this line:
def condition = percentRise >= percentSpike;
With this line:
def condition = percentRise >= percentSpike and volume > 1000000;