| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| The Hidden Pending EA https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3573 |
Page 11 of 49 |
| Author: | milanese [ Sun Nov 09, 2014 3:38 pm ] |
| Post subject: | TheHiddenPendingEA |
Thanks Haggadah for this clarification for all users, the stacking feature, was at the first version not intended I added this later, because an user requested it and it was mainly intended tor StopOrders, as like over60 wrote normaly limit orders are not used in that way. But I am open to add this feature, if it will be from more useres requested. Adding new functions has always two sights, one one hand it makes the EA more usefull and able to use in different trading situations, but on the other hand there is the risk that it is to complicated to use for many here. Cheers Tommaso |
|
| Author: | Over60 [ Sat Nov 29, 2014 9:16 am ] |
| Post subject: | TheHiddenPendingEA |
Hi Milanese, Could you please explain, what will happen, when the predefined amount of stacking orders are overdue (displayed under count historical trades). I removed the EA, but after attaching it again, it counts and display in summary the amount of orders once again. With other words, how to reset the EA completely to start with Zero settings? BTW, it would be helpful to remove the display by true/false, because the display overlap a lot of space in the chart, especially on the left side, where the open orders are displayed. Further on I don´t know, if it is intented that the EA will work as follow. The green orderline (pending buy) is located above the latest highest buy-order (without TP/SL), which is still working, but the actual price is located far away below, out of the defined stacking range distance, referring the distance of the higher and latest open buy order. Same occurrence with sell pending order. Now I want to stack in short or long with different settings, independent from the remaining open orders (Swing/longterm). Maybe there is a conflict between orders with or without stops, because I have still open buy Orders with stops longterm above the green pending orderline. Thanks for your attention. Trade well my friends Over60 |
|
| Author: | milanese [ Sat Nov 29, 2014 10:24 am ] |
| Post subject: | TheHiddenPendingEA |
Hi Over60, it is intended that the EA after reattaching does recognize all open orders and will work as before the removing. If you will avoid that, just change the magic number and the EA will ignore the "old" trades. About a display on/off function, if other users here will find this a usefull feature I will add this. Cheers Tommaso |
|
| Author: | milanese [ Sat Nov 29, 2014 1:03 pm ] |
| Post subject: | [UpdatedEA]TheHiddenPendingEA |
As some users asked me via pm too to add the option for not showing the userDisplay you find in the first post a new version. new version nov. 29,2014 As asket from Over60 the EA has now an new input showUserDisplay to show or not show the userDisplay, too some minor fixes in the orderhandling code given again more security for the orderhandling.New the EA will add the actual spread to the ordercomment. Cheers Tommaso |
|
| Author: | Over60 [ Sun Nov 30, 2014 9:17 am ] |
| Post subject: | TheHiddenPendingEA |
Hi Milanese, thanks for your fast reply and update. Hi users, I do not venture to ask once again for a trailing stop for this EA, because we recently talked about to use a second EA for this feature, which was not scheduled to implement. Please excuse in advance, if I talk again about trailing scenarios. Maybe a reader can advice for a simple EA, which can trail multiple orders by the below described conditions. In our team (only veterans at retirement and all over 60 Btw: First to say and greetings to “Jemook”, because GP provides the fastest tick-signals, which is probably not the same as the access rate in “ms”, (refer to the below right corner of the Empty4-window) in comparison with other brokers, as we observed and compared the signals in the order-windows simultaneously. We oldtimer and I expect, that there will not be a big difference to live-accounts during high-speed periods, because demo- and live-accounts sometimes do not correspond and during high speed movements, the criminals slow down the amount of tick-rates, due to higher volume, and increase the slippage or even shut down their servers. With VPS I do not have experiences. Why trailing might be useful and important? Not only during fast movements in one direction (called spikes), we can stack automatically orders as many as defined by stack distance in reference to the direction and as long as the move performs until open end. Basically there are two possibilities: First to close each order by defined TP-Levels (as the EA actually and already provides) and second to use a trailing-stop to pyramide orders in order direction until open end. Before starting the EA, we can define and prepare SL and/or TP and modify afterwards, if required. That’s one of the methods to close each order at defined TP-Levels, if TP hit. That’s a common procedure and will work during normal trading hours and normal price speed (Vola). Anyway, we can use the automatic trailing-stop provided by the Empty4-terminal as needed. The automatic trailing-stop via terminal however is not a jumping SL and will move pip by pip, if there is any price-movement in order direction. Be aware to use it, because the value of e.g. 50 (by 5-digit-accounts), means 5 Pips… It will work also with minor trailing movements with 5-digit broker-accounts, which do not have the prohibition for trailing < 15 Pips as 4-digit-broker did have in the past. But back especially to high-volatility periods (trading spikes, open , news) and such scenarios. As fast as spikes perform, they often and mostly can turn back with the same speed. If not, because of a subsequent homerun, we still remain in profit. Welcome, we can harvest. On the other side, if there are no stops (TP/SL) defined, if the price turns back, the account can run very quickly into a huge loss or margin call, if the account is not enough capitalized to survive such drawdowns by temporarily and automatically entered orders during spikes, especially when this occurs during absence. Manually and during spikes (within minutes and sometimes even seconds), we will not get a chance to change resp. to adapt multiple orders without any tool, be it in the case of slippage, because of getting no fill (requotes via order-window) or simply by personal reaction time to modify several opened orders just in time. Scripts works only one time to modify the orders and their are not a big help. Anyway I found, that scripts, such as “close all open orders in profit” works relative fast, even in high volatility periods, but we have to be live to attach a script just in time. In situations of being absence, if spikes occurs, you might be very happy, if you had have activate “Move OppositeOrderwithPrice”, to minimize losses by this hedging and stacking feature, to survive hopefully only with a floating loss, you can compensate afterwards. Btw, some Brokers as also GP do not take margin for hedge-orders. Try it first at demo! In addition and a further example of clarification. If there are two orders already performing in profit by identically settings and the third pending will hit in price direction, we will place the SL`s of the first and second order to the entry of the second position. What will happen? In the worst case the price returns and close the first order by the already placed trailing-SL in profit at the entry position of the second order, however the latest entered third order will return and close in loss at the same stop-level (at the second-order). Profit and loss will remain equal. We will get a Zero-sum situation in this session, but no loss. If price moves on in the right direction, the fourth and further pendings will become hit and start performing. If live, without a trailing-feature, now the manually work will start to protect the profit by trailing the stops for each working position. That is time-consuming and awful. If we are not online resp. live in the market, actually we can only use TP/SL-levels to manage and to protect the trades in advance. That are the basic scenario for my request concerning a trailing feature, especially for fast scalping-events and the reason, I request a trailing feature. To avoid confusion, I don´t mention advanced order-methods, such as variable lotsize and taken partial-profit or adapting the trailing-stop dynamically in regard and in accordance to the price-movement. There are still a lot of advanced trailing-possibilities, e.g. which might be used with price-action and/or money-management or indicators, but let us keep it as simple as possible. In addition: For coding such trailing feature in an easy to use way To work with an automatic trailing-stop, there is no need for a TP, because we trail orders only in profit, in price-direction and open end, until price turns back and will close all open orders at the latest trailed SL-level. Keep in mind, that the latest entered order mostly close in loss or by the worst case e.g during the starting period, the price will turn and not move in the designated order direction to start trailing. In such starting scenario, we will run into loss by the security-SL or a floating-loss, if the hedge-order in the opposite direction has been used and opened. We have to define, when trailing should start, independent from a defined security SL in the starting period, before price hits the next pending in profit (as a condition) and in price-direction. Then trailing should start and the SL has to jump, if price will move further on X-pips into profit. It is the basic attribute, that trailing will start only in profit. The parameter needed might be: 1. Trailing on/off for buy- and/or sell-orders 2. Start trailing for all open orders after X pips in profit and than 3. Move/jump the SL for all open orders X-pips”. Under normal condition, the trailing distance will be equal in reference to the stacking order distance. I´m not a coder, but I could imagine, that the EA has to supervise (by internal loops) all open and new positions in profit, be it sell or buy. I assume, that there are some conflicts, which might be occur, if there are already open orders (swing and longterm, sell and buy), which should not managed in that way as for the new orders by the trailing-feature. I don´t know any trailing-EA, which can filter resp. distinguish old and new orders and they have the lack of managing multiple orders simultaniously. Despite of using separate instances a feature (such as an additional comment) might be needed to distinguish or filter the new orders for this special purpose, similar to the procedure, which Milanese did suggest to reset the EA, by changing the magicnumber. Thanks for this hint. I do not yet have other ideas to solve this scenario. I hope that the walk through of the order-management and trailing was not to much boring. Please post your comments and your experiences, as I did above to improve this master tool. Do not hesitate to ask questions. It make no sense to code features by Milanese, I respect it, to waste spare time and spend efforts for features, which are not requested by the majority. Moving on… Thanks to Milanese… Trade well my friends Over60 |
|
| Author: | milanese [ Sun Nov 30, 2014 9:44 am ] |
| Post subject: | TheHiddenPendingEA |
Hi Over60, I am very interested to hear here other feedbacks, if for the users of this EA a trailing/jumpingStop feature would be an interesting option I will add this more functionality to the EA. Cheers Tommaso |
|
| Author: | milanese [ Mon Dec 01, 2014 10:55 am ] |
| Post subject: | [Updated EA]TheHiddenPendingEA |
Hi all, many of you sent me pm whishing a trailing/jumpingstop function for TheHiddenPendingEA, so thanks to the iniative from Over60 asking moretimes here for this, I coded a new version, that you as always will find attached in the first post. new version dic.1,2014 As from many useres wished the EA has new a jumping/trail stop function integrated. Use_SetBEAndJumpset this to true if you want to use the functionBEProfitPips added to OpenPrice for BEJumpStepPipis the SL will be moved with every trail stepSLMinDistanceToPricethis distance must the moved SL have to the actual priceCheers Tommaso |
|
| Author: | Over60 [ Mon Dec 01, 2014 12:06 pm ] |
| Post subject: | TheHiddenPendingEA |
Hi Milanese and User, Many thanks for that advanced improvement, it is a big step to apply even pyramiding. Now the EA will become a master-piece. Our team, we oldtimer over 60, now can sleep very calm instead of being live 24h alternatively to watch and react overnight by the market movements. It is a little bit curious, because nobody did ask questions in the thread, how to work with or how to apply the EA? Anyway I only can assume, that my mission and descriptions, how to work, did find attention. Let me talk something about my personal opinion. A lot of traders and coders are mostly bothered to create indicators to predict future movements. Remain clear in mind, because FX with the high leverage is a 50:50 game and only in an overall view we will find the edge or bias for profits. We have to learn and to understand the rhythmic of the price movements (price action). No more no less. Keep attention, where the price is located and when it will move to the magnetic big numbers. Do not trust every indication blindly, because indicators record only past movements and cannot predict future movements, although it might be happen sometimes randomly. If it works, welcome, but it remain the question, why 90% of us, the retail-traders will burn their accounts? For newbies the advice, stay first in one market, to understand how it perform. Trading multiple pairs (basket) will make you only confuse. The commercial and future traders or the Central banks do not deal with pips, they influence and manipulate the market without risks for 1-3 Cents. For retail-traders, which deal with high leverage in the range of 100-300 pips, that might be a KO-criterion or margin call. Now the EA can protect your risk-investment (margin), even by absence, if you a clever to do the right settings. I wish the users of this EA a lot of success and they should not hesitate to report or ask questions, how they operate with this EA. Moving on… Trade well my friends Over60 |
|
| Author: | milanese [ Mon Dec 01, 2014 12:11 pm ] |
| Post subject: | TheHiddenPendingEA |
Hi Over60, again thanks for all your effort and ideas for this EA. The strange thing is that most users so far prefered to ask via pm me with wishes or request reguarding to this EA, it would be clearly better if they would use this thread, as so their questions and ideas would be a help for all. So please all use in future this thread for all ideas and requests! Thank you! Cheers Tommaso |
|
| Author: | Fibotrend [ Tue Dec 02, 2014 2:02 pm ] |
| Post subject: | TheHiddenPendingEA |
Ciao Tommaso, first of all thank you for this great EA. I was wondering if there is any chance to add an option for One cancels other orders (OCO). The intention is to be able to set 2 different orders in the same direction and cancel the second one if the first one, closer to the price, get filled. This option would be very useful for gaps. Cheers |
|
| All times are UTC | Page 11 of 49 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|