Firstly sorry about my spelling.
Ok I wrote a small program which basically does the following:
These are just example numbers for cable
1) I give it a price. Assume 2.0000 a sl of 10 pips and a TP of 1000 pips.
The current market price is 1.9900
2) The program places a BUYSTOP order at 2.000 with SL and TP specified above.
3) The follow scanario happens The price hits 2.000 and then falls back to 1.9900. My SL gets hit. Which is fine I take the 10pip loss on the chin. The program then puts a new BUYSTOP order with the numbers given above. (My program has been working fine for about a month)
All this is fine and working as expected but yesterday some thing happened around the time of the US interest rate decision.
4) Market went up to 2.000 and I bought.
5) Market went down and my stoploss was hit
6) My program tried to put in a new BUYSTOP at 2.000 but a 130 error was reported!!! a 130 error is invalid stops!!
SO how come my program failed?
Thanks in advance!!!
Ok I wrote a small program which basically does the following:
These are just example numbers for cable
1) I give it a price. Assume 2.0000 a sl of 10 pips and a TP of 1000 pips.
The current market price is 1.9900
2) The program places a BUYSTOP order at 2.000 with SL and TP specified above.
3) The follow scanario happens The price hits 2.000 and then falls back to 1.9900. My SL gets hit. Which is fine I take the 10pip loss on the chin. The program then puts a new BUYSTOP order with the numbers given above. (My program has been working fine for about a month)
All this is fine and working as expected but yesterday some thing happened around the time of the US interest rate decision.
4) Market went up to 2.000 and I bought.
5) Market went down and my stoploss was hit
6) My program tried to put in a new BUYSTOP at 2.000 but a 130 error was reported!!! a 130 error is invalid stops!!
SO how come my program failed?
Thanks in advance!!!