- Search Energy EXCH
- ericjschroed replied Jun 18, 2014
Yes I should not have used NewStop for newstop, but you are passing the value from one to the other. But in the first line: void _BreakEvenTrade (double newstop=0) { // newstop DEFAULT VALUE IS 0 Doesn't this set newstop to 0? If so, newstop is ...
Journal of a Struggling Trader like You - I am pannet1
- ericjschroed replied Jun 17, 2014
Anyone including Udine (if you have the same Broker GMT offset as Udine) please tell me or PM with brokers I can get a demo account (is it +1 or -1 now?) so I can see the same setup without a lot of coding to modify indis? I am in US so many non-US ...
As simple as possible: 00 level trading
- ericjschroed replied Jun 17, 2014
Thanks! A fine piece of engineering, if I say so myself! Of course I borrowed or copied most of the code


As simple as possible: 00 level trading
- ericjschroed replied Jun 17, 2014
Oops, sorry guys, teeny tiny code fix to remove the HBE label. Updated version posted. url
As simple as possible: 00 level trading
- ericjschroed replied Jun 17, 2014
Yes. Now to spend more time trading (learning) and less time coding.
As simple as possible: 00 level trading
- ericjschroed replied Jun 17, 2014
Yes (it should) Yes only that pair.
As simple as possible: 00 level trading
- ericjschroed replied Jun 17, 2014
>Sorry if I am not explaining it well. Right now, after changes, you check if there is a hard SL and if BE is True: if (OrderStopLoss()>0 && BreakEven) BreakEvenTrade(); >if so, you call BET and set NewStop to 3.5 pips above Entry (for Buy): NewStop ...
Journal of a Struggling Trader like You - I am pannet1
- ericjschroed replied Jun 17, 2014
So it seems that Pannet1 and I were both working on this combined EA separately without the other one knowing. Mine seems to be working correctly with options for hidden TP, SL, BE and TS. I just added one more thing to delete the BE line if using ...
As simple as possible: 00 level trading
- ericjschroed replied Jun 17, 2014
Ok, so far I have not tested yours but will. You did it again
under section C you said WAKAR. The only declaration for BreakEven is a Bool so the formula will only add 1 or 0 to OrderOpenPrice. If you want specific pips past Open, create ...Journal of a Struggling Trader like You - I am pannet1
- ericjschroed replied Jun 17, 2014
In these lines you are adding BreadEven which doesn't exist as a value of Points. Perhaps you meant to use AddCommission? NewStop = OrderOpenPrice()+(BreakEven*Point); NewStop = OrderOpenPrice()-(BreakEven*Point); Thanks, it just makes it easier for ...
Journal of a Struggling Trader like You - I am pannet1
- ericjschroed replied Jun 17, 2014
I said that version was only for testing. It was not working right before. Use 1_2e until new one is posted.
As simple as possible: 00 level trading
- ericjschroed replied Jun 17, 2014
Udine, if you are in a long GJ trade now, with < 1 hour to Red news, do you leave the trade alone or something else?
As simple as possible: 00 level trading
- ericjschroed replied Jun 17, 2014
Is that 1 hour before Tokyo open?
As simple as possible: 00 level trading
- ericjschroed replied Jun 16, 2014
Hi, I am sorry for the confusion, I did not know you were working on this too. I just finished editing and testing my last one and all is working perfectly, with everything hidden. I will attach it here so you can check it. I would like to post it, ...
Journal of a Struggling Trader like You - I am pannet1
- ericjschroed replied Jun 16, 2014
Nice! Looks like you start before Asia open. I will have to watch that.
As simple as possible: 00 level trading
- ericjschroed replied Jun 16, 2014
Ok, good. I see several things already. 1. You spelled it WAKAR in the code. (he he) 2. You have DeleteAllLines() when it closes the trade successfully but it would be better to close when no orders are found, like in my new code. Just in case MT4 ...
Journal of a Struggling Trader like You - I am pannet1
- ericjschroed replied Jun 16, 2014
I did not see any reply from you so thought you were not working on it. I will wait to see what you have and/or, maybe you can see why my latest is not working right. Thanks.
As simple as possible: 00 level trading
- ericjschroed replied Jun 16, 2014
This one (WUKAR_WB_Trail_v1_2e) is working but does not hide BE or TS. Also Pannet is making changes too. My 3e is only for testing.
As simple as possible: 00 level trading
- ericjschroed replied Jun 16, 2014
Yes, the first one posted is missing the required DLL.
As simple as possible: 00 level trading
- ericjschroed replied Jun 16, 2014
Sorry, Udine, was just trying to be funny, not cynical.
As simple as possible: 00 level trading