molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming http://www.molanis.com/forum/ |
|
Show Trailing Stop in Chart http://www.molanis.com/forum/viewtopic.php?f=9&t=5449 |
Page 1 of 1 |
Author: | tradexxx [ Tue Oct 23, 2012 8:10 am ] |
Post subject: | Show Trailing Stop in Chart |
MT4 has the possibility to use a trailing stop. As you can only see the actual trailing stop in the chart, i'm searching a possibility to show the trailing stop in the chart, since the order is started. Any ideas how to create something like this? Alternative: Connect the highs of a certain period. With the indicator builder i can connect all highs, e.g. but how can i manage to select the highs of a certain period only? for example: show me the absolut high of the last 10 candles only (result should be one point) and connect it with another high from 10 candles by drawing a line |
Author: | molanisfx [ Tue Oct 23, 2012 9:54 am ] |
Post subject: | Re: Show Trailing Stop in Chart |
In the indicator builder you can use the advanced option to create the highest (or lowest) of a formula with a period=n You can use it to create the highest of the last n bars That indicator is pretty common so you may find it at mql4.com |
Author: | RJo [ Tue Oct 23, 2012 10:06 am ] |
Post subject: | Re: Show Trailing Stop in Chart |
Yeah, that's how I do it for horizontal high/low lines. Just set the "Advanced Period" to 10. If you want angled lines, use a Zigzag indi. Regarding printing your previous trailing stop levels... Rather than trying to call the TS data from your dealer's server (if that's even possible), I would use SB Pro to build an EA to manage TS's, and then harcode ObjectCreate to draw lines on the chart right from the EA. |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |