I noticed that I was placing an order for STOP ODER, and a present value was not the ODER level in what I did not carry out.
If Close[0] is less than 9950 by the following programs, I let you place an order and assume STOP ODER a state.
However, I cannot place an order in spite of lower than ODER level 10000 when I let you place an order for ODER if present values are less than 9950 that is do not seem to be able to carry out STOP ODER when a value does not come back to ODER level 10000 after ordering.
//I do not let you place an order for STOP ODER when Close[0] is not less than 9950
if(9950 > Close[0]) STOPfrag=1;
if(STOPfrag==1)ExitLongStop(10000,"STOP","");
I want to let you carry out ODER immediately if the existing value is less than an ODER level after ordering in STOP ODER so that there is not such a thing
How will you be all right if you do it?
Please reply it.
Comment