sample code (two conditions)

 

Hey, I am looking for sample code to open long position (OrderSend) if:

1 condition: iATR < 20

and

2 condition: 1 condition lasts from 10 seconds


Thanks in advance...

 
dolar:

Hey, I am looking for sample code to open long position (OrderSend) if:

1 condition: iATR < 20

and

2 condition: 1 condition lasts from 10 seconds

Book  Documentation  CodeBase
 
In this financial crisis everybody want everything for free
 
cyberfx.org:In this financial crisis everybody want everything for free
Financial crisis is irrevalent. They all want to make a million with no effort and no cost. Thus my standard reply: Since there are no slaves here, you have only three choices: Search for it, 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 and the nature of your problem.