Disliked{quote} A) I agree with you bad idea. Maybe profit lock but not trail. C) I will try another way. A cumulative TP/SL so it calculates the closed and the open trades P/L, commission and swap included. So give the single trades the normal SL/TP fib levels and then close open trades and pending orders when the total goal for the day is reached. The idea is to bank the pips continuously and close the Ea when the daily goal is reached. You prevent possible loss but also possible wins. Hard to say if good idea when have not tested it. Therefore good to...Ignored
For those that are wonder what I mean by a BASKET Trail Stop. The ccfp EA has a feature that allows the user to have the EA treat a Basket of Trades as one single pair. So in that mode the EA can treat the BASKET as if it were one single trade and apply a TRAIL STOP to it just as if it were one pair.
One neat feature that I am considering to add is the virtual basket. This is where the user tells the EA to open a virtual basket of trades (based on the approach) and to monitor it for when it reaches certain Triggers. Think of those triggers as STOP or LIMIT ORDERS. Once those "triggers" are hit then the EA opens a REAL BASKET and from then on it monitors it for REAL profit.
C) That is correct. The EA will add up all of the profit (running or closed and including swap,commission) for Today's session and use that total to compare against what you entered in the basket TP/SL inputs. Once the total profit is reached the EA will then close any open trades and/or pending order (if any are still open). So it pretty much already does what you stated.
This is what I thought you were aiming at:
1. EA opens trades per rules
2. No individual SL/TPs are set
3. EA records the individual SL/TP levels in memory
4. EA monitors both the total basket and the individual trades profit movement
5. So if EA first detects that one of the individual trades has hit TP/SL, it then re-applies all of the TP/SLs to each of the individual trades.
EA stops monitoring profit cause now all pairs have their own TP/SLs. EA resets memory and done for the day
6. But if the EA detects that the basket total profit/stoploss was hit.. close all trades, reset memory, done for the day.
Yup, anything can be done . But, LOL do I have the time?... Maybe... We'll see.
J
Our AWESOME IMAGINATION is the true holy grail!