Forum

Need help with EA

I am trying to adapt this EA to buy when Stochastic crosses above 50 and sell below.This part works however the trade only closes at stoploss or takeprofit levels.The OrderModify and OrderClose commands don't seem to work,can someone help explain why

New to scripts

Hello all, I have a script that writes the outputs from various indicators, that is then imported into Excel.My problem is manually putting it on the chart every hour. Is it possible to have this script run automaticly instead of doing it manually.If so can it be run from within an indicator that is