Forum

using iBarshift to find index of bar at time

Hi, im trying to code a variable that will be the index of a candle at a time to start scanning the candle for various price points. int LHSearchcandle = iBarShift(_Symbol,_Period,StrToTime("09:00")),true); int HLSearchcandle = iBarShift(_Symbol,_Period,StrToTime("09:00")),true); the above code

EA doesnt close partial order, help tell me what is wrong

im trying to close half an order using the below code but it does nothing