|
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.
|