Search results

  1. K

    What's wrong with that AFL?

    I want to start auto trading with IB, that's why I write (or copy from amibroker website) following AFL: //Auto Trading with IB// if( LastValue( Buy ) ) { ibc = GetTradingInterface("IB"); if( ibc.IsConnected() ) { if( ibc.GetPositionSize("YM Jun16'17 @ECBOT") == 0 )...