redart77 / Publications
Forum
Draw arrow on trade exit
HI, Looking for a way to have MT4 draw an arrow on the chart when you exit a trade via the Terminal window. If the exit is via an EA then the ObjectCreate function will achieve this, but what if I want to exit the trade manually ?. Any way to add a marker/arrow at the exit point ? Thanks
Positioning text on chart
HI, I have a horizontal line on my chart which is manually positioned. I would like to position a text label next to it in an EA. So far I've tried -- double ypos = ObjectGet("Horizontal Line 35541", OBJPROP_PRICE1); and double ypos = ObjectGet("Horizontal Line 35541", OBJPROP_YDISTANCE); along with
Selecting an order based on position
Hi, I'm trying to get my head around the OrderSelect function ....specifically how to get the right index parameter. The following code will select an order that is placed above the market, provided the order was the first one I placed (index=0). if(Price > Bid &&
Terminal window columns
Hi, Just wondering if there is any way to choose which columns are displayed in the Terminal window, or is this fixed?. For example, I assume 'Swap' is something to do with Forex, which I don't trade (can anyone clarify what 'Swap' is?), so for reasons of space saving I would like to remove the
Delete pending order without confirm
Hi, Is there any way to delete a pending order that doesn't require the additional step of having the 'confirm delete' order window appear ?. I'm using the " DROP_DELETE_PENDING.mq4 " script by 'blackhawk', but would like it to just go ahead and delete the order as soon as the script is launched