Can someone add a condition to my script so it only buys if the stock is crossing above the 50 day SMA?
Thanks,
Carlo
CODE:
Please log in to see this code.
[/CODE]
Size:
Color:
Check out the QuickRef > CrossOver.
CODE:
Please log in to see this code.
Size:
Color:
Thanks Eugene.
I added the code but now my sell rules are not working right. Any idea why?
CODE:
Please log in to see this code.
Size:
Color:
Because you pasted the line of code in a wrong place. It should be placed above the AtMarket entry whereas now this condition affects the exit logic.
Size:
Color: