View Single Post
  #6 (permalink)  
Old 05-27-2007, 05:10 AM
lowphat's Avatar
lowphat lowphat is offline
Senior Member
 
Join Date: Sep 2005
Posts: 200
lowphat is on a distinguished road
one way is to declair a bool at the top or in init? to kill it after one trade if it won or lost but there is prolly a better way
then hitting the reset button i would think should start it over to make one trade again
int init()
bool stoptrade=false
_____________________


if (stoptrade==false)
{
if (logic)sell
if (logic)buy
stoptrade=true
}

Last edited by lowphat; 05-27-2007 at 05:14 AM.
Reply With Quote