Here is an indicator that may go some way to satisfying arezab’s suggestion in post #171.
It calculates the pip distance from the current price to a) the trade execution price line, b) the stop loss line and c) the take profit line.
Paramater Info
a)The text color can be changed
b)The text size can be changed
c)The text can be positioned along the horizontal axis.
d)Show_Orderticket set to true shows the order ticket number left of the pip value after the EasyOrder submission button is hit.
e)Show_OrderTicket set to false does not include the order ticket. (less clutter)
Warning: Regards Sl+TP Pip Distance Indicator - when Show_OrderTicket is set to true it is only useful at this setting if one trade is open per chart. If another trade is opened on the same chart, although the pip distances values remain accurate and true, it will duplicate the first order ticked number for all subsequent opened trades. When Show_OrderTicket is set to false all pip distance values continue to remain accurate. I trade only the Euro and the Dow, each on different accounts, and never have more than one trade open at a time on each account and did not consider to check this. I will post a patch depending on time - please feel free to add a solution if it interests you.
Note: If you test this indicator in slow markets please know that the text labels will only appear on the screen after price movement. Switching time frames back and forth should put the text labels on the screen immediately.
Tip: Make sure the cursor is a cross hairs - hold down the left mouse button and drag the cursor vertically. The middle number next to the cross hairs is pip distance and the number on the right is price.
I have not included any TP and SL identification in the the text labels as the lines are different colored and it is obvious which is which.
Also it requires more code to differentiate between orders and I don’t have the time at moment.
For the same reasons as above the text labels are not colored red for stop loss and green for take profit pip values as indicated in Attached Images post #171 (arezab), though for completeness I would like to add this later. The same applies for prefixing pip loss with (-) sign.
The EA as in Attached Images post #171 (arezab) is elegant but appears to interfere with the Easy Order script.
If you find this indicator useful but would like other or additional features I will not be able to accommodate you as I do not have the time. Suggestions of improvement are welcome, but as above, when I have time I may have a go. Anyone interested in coding improvements are most welcome.
It calculates the pip distance from the current price to a) the trade execution price line, b) the stop loss line and c) the take profit line.
Paramater Info
a)The text color can be changed
b)The text size can be changed
c)The text can be positioned along the horizontal axis.
d)Show_Orderticket set to true shows the order ticket number left of the pip value after the EasyOrder submission button is hit.
e)Show_OrderTicket set to false does not include the order ticket. (less clutter)
Warning: Regards Sl+TP Pip Distance Indicator - when Show_OrderTicket is set to true it is only useful at this setting if one trade is open per chart. If another trade is opened on the same chart, although the pip distances values remain accurate and true, it will duplicate the first order ticked number for all subsequent opened trades. When Show_OrderTicket is set to false all pip distance values continue to remain accurate. I trade only the Euro and the Dow, each on different accounts, and never have more than one trade open at a time on each account and did not consider to check this. I will post a patch depending on time - please feel free to add a solution if it interests you.
Note: If you test this indicator in slow markets please know that the text labels will only appear on the screen after price movement. Switching time frames back and forth should put the text labels on the screen immediately.
Tip: Make sure the cursor is a cross hairs - hold down the left mouse button and drag the cursor vertically. The middle number next to the cross hairs is pip distance and the number on the right is price.
I have not included any TP and SL identification in the the text labels as the lines are different colored and it is obvious which is which.
Also it requires more code to differentiate between orders and I don’t have the time at moment.
For the same reasons as above the text labels are not colored red for stop loss and green for take profit pip values as indicated in Attached Images post #171 (arezab), though for completeness I would like to add this later. The same applies for prefixing pip loss with (-) sign.
The EA as in Attached Images post #171 (arezab) is elegant but appears to interfere with the Easy Order script.
If you find this indicator useful but would like other or additional features I will not be able to accommodate you as I do not have the time. Suggestions of improvement are welcome, but as above, when I have time I may have a go. Anyone interested in coding improvements are most welcome.
Attached File(s)
SL+TP Pip Distance.zip
4 KB
|
2,395 downloads
Attached Image