Thread: How to code?
View Single Post
  #1419 (permalink)  
Old 11-01-2008, 06:34 PM
dwmcqueen dwmcqueen is offline
Senior Member
 
Join Date: Dec 2006
Posts: 109
dwmcqueen is on a distinguished road
Has anyone written some good, or found a good way in an EA or script,
to check if trading is not allowed? I have a script that is in a
constant loop (instead of relying on ticks) but it keeps looping even
when market is open and I am trying to figure out a good way to have
it break out of the loop.

I though IsTradeAllowed might work, but it looks like it could be
triggered even when market is opened and has a different meaning.
Reply With Quote