k15hor Posted October 27, 2011 Report Share Posted October 27, 2011 Hi Are there any good lateral thinking coders out there who can make some adjustments for me please. What i require is as follows. 1. a merger of these two ea's What we have here are two ea's doing two different jobs. A... http://www.2shared.com/file/WdeIgfsr/LineTrader.html - with this ea you label a horizontal line to place an order when the price breaks the line. B... http://www.2shared.com/file/A2-bgbAr/SL-TP_line.html - This ea when placed on the chart will add a horizontal line at the SL and TP , this line become a dymnamic horizontal. meaning that if you move it then the SL or TP will be adjusted automatically too...! What i require is to have the dynamic horizontal line added to the first ea. But with a twist. i need the SL to be moved for all live orders for that chart to the same SL. ie you can have 10 open orders but one SL when the dynamic line moves to 1.3562 then all 10 will have the same sl move to 1.3562 Not to worry there is a reason for this madness. Please read on now addition to the above i require :- 1 . if in the new ea a line is triggered to place an order then 10 additional lines above the trigger point is opened as well as 5 below. All these lines will be a buy if the buy line is triggered and vice versa. these figures are just an example but a simple calculation based on the account balance can provide the dynamics of how many order lines to create with in tolleration ( safety percentage you are willing to risk) 2. the distance between these new lines is adjustable (external input) 3. Lot sizes are in the form of a reverse martingale set as follows. I ) the first initial line will have a set lot size that is as follows account balance /10000 (or 1000 depending on which broker you use ) . now round this figure up or down bepending on what broker account you have (micro/ mini etc.. as brokers have a min lot size. This will always be the largest lot size all the rest will be on a reducing sequence down to the brokers minimum. ii) all subsequent lot sizes are on a reducing scale - 0.4 down to the minimum your broker will allow. once that is reached then all following orders will be at that low figure. 3.when the SL is hit or TP then all orders need to be closed too. and all dynamic lines to be removed. There will be loses if you do not manage your trades but when you hit a trend in any time frame , well can imagine your returns. So is there anyone who can help recode and program this for me please...? Thankyou in advance... we can all share in this once it is done...! Quote Link to comment Share on other sites More sharing options...
k15hor Posted October 28, 2011 Author Report Share Posted October 28, 2011 AMMENDMENT : I origionally stated that this would function in any time frame... well i may have been too quick to judge that. I feel it is best used in higher time frames 15 mins or above for ultimate best results. Quote Link to comment Share on other sites More sharing options...
tuoitrecuoi Posted November 6, 2011 Report Share Posted November 6, 2011 Pm me: [email protected] AMMENDMENT : I origionally stated that this would function in any time frame... well i may have been too quick to judge that. I feel it is best used in higher time frames 15 mins or above for ultimate best results. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.