Buy sell

Back to topics list To post a new topic, please log in or register
avatar
1
dumb_07070 2015.04.19 11:37
 

Hi

I need to create a script that when my system time hits a certain time of the day a automatic buy or sell order needs to be placed. I figured out the system time thing, but I'm struggling to do the following for the buy / sell:

if the current bar is higher than 12 bars back then the ticket must  sell.

if the current bar is lower than 12 bars back the ticket must buy. 

avatar
13009
WHRoeder 2015.04.19 13:40 #
 
learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
avatar
21
CristianoKonrad 2015.05.12 21:27 #
 
.
Back to topics list  

To add comments, please log in or register