I knew how to create object trendline,vertical or horizontal line using price and time, but how can I do it using coordinates? I want to draw trendline using 2 coordinate. thank you
Ok. Here is problem. Just got home and see this stranger fail on my EA which make me didn't take 30 pips profit. My EA return the order fail to open because of 130 error. yes, I know 130 error is invalid stoploss. I'm not sure why it is
The situation is, on the initial run, I set that number on the input. After EA run, it meet certain criteria, it will reset that variable to be 0, and keep it 0 until I change the input variable again to be something else. Is there anyway to do that
so, if I have a max 2 order. I open 1 order, and like 5 pending limit order. How can I make sure that there is only 2 open order at a time? What is the code of EA look like to stop those extra pending order to be executed?
I have time over weekend, so I would like to do some coding. But the market is offline. and there is no tick, so the start() is not running. How can I write code and test it on the current available data when it is not getting any new tick? I
so, for every tick data, the start() function will activate again. What if the start() function have not finished running and the new tick coming? Will the start() function keep running until the return() reach and run the new tick after
Here is the situation. I have placed many limit orders (limit sell and limit buy). When I am not in front of my computer. The price may go in opposite direction as I predict. And it go pass certain point of price. I want my limit order to be