Best way to handle Requotes? - page 2 12 New comment tnil25 2021.06.09 05:47 #11 If anyone else is having this issue I came up with a quick fix for it. I use a simple Boolean to enable/disable ordering after a buy or sell signal is received. I added this code before the bool is set to false. if(open_buy==true) { //--- Open order code goes here } if(trade.ResultRetcode() == TRADE_RETCODE_REQUOTE) { Print("REQUOTE. Reattempting trade..."); } else { open_buy=false; Print("COMPLETE"); } Hope that helps! How to have one Need a simple code [ARCHIVE!] Any rookie question, 12 New comment
If anyone else is having this issue I came up with a quick fix for it.
I use a simple Boolean to enable/disable ordering after a buy or sell signal is received. I added this code before the bool is set to false.
Hope that helps!