VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Thank you @GG53. Happy holiday season to you too and to all the members.
V.
VlanFx replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 7 months ago
The condition by itself is OK, because 99999 is not less than 120, so it will not set ContinueTrading=false; and will continue trading.
My problem was that the indicator returned those same values every time. But it was in backtesting, so I was thinking that was the reason. But now I tried to run the ea on live chart with news coming in and…[Read more]VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
VlanFx replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 7 months ago
Hi @jaguar1637, I’m trying to add the FFCal_mini to our EA, but I can’t get it to work. I can try only backtesting as there are no news at this time.
I copied the code you posted here but keep getting these values from the indi throughout a day full of news:
MinToNews = 999999
MinSinceNews = 0
The following condition then causes the EA to…[Read more]
VlanFx replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 7 months ago
@[john baag]
Hi John, I’m trying to add the FFCal_mini to our EA, but I can’t get it to work. I can try only backtesting as there are no news at this time.
I copied the code you posted here but keep getting these values from the indi throughout a day full of news:
MinToNews = 999999
MinSinceNews = 0
The following condition then causes the EA…[Read more]
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
regarding the pre-trading conditions:
FFCal -> @Emonts contacted me by PM and sent me a mqh file for this with example on how to call the functions. Now he’s fixing it so it works with prefix/postfix pairs. So this one is covered.
Max. Spread -> I’ll implement this one
Trading Hours, TradeOnMonday, TradeOnFriday, FridayClose -> @slicken had…[Read more]
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
I understand and agree with you GG. But all this is possible with v.1.2. The published zip file contains a stand-alone indicator ClearMethod.mq4. It can be attached to a chart and visually see peaks and throughs. One can also check EA behavior against the indicator. For trading decisions EA relys only on this separate indicator.
The reason I…[Read more]VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
The v.1.2 IS using iCustom(). The fact that is called from the mqh file can not make any difference. See here: http://docs.mql4.com/basis/preprosessor/include The content of the mqh is placed inside the mq4 that referenced it.
Advantage of using header files, besides reusability, is better logical structuring of the code. We hardly have any tr…[Read more]
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Hi all,
Came back from the weekend and see great posts

I saw @Lowphat posted in the ‘chat’ thread an indicator that is according to GG53 rules regarding the peak-throughs so I updated the EA. Place the ClearMethod.mq4 inside ‘Indicator’ folder.
Thanks @Lowphat for contributing.
The entry is still at the bar ‘Close’ and places Stops at…[Read more]
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Hi all,
Came back from the weekend and see great posts

I saw @Lowphat posted in the ‘chat’ thread an indicator that is according to GG53 rules regarding the peak-throughs so I updated the EA. Place the ClearMethod.mq4 inside ‘Indicator’ folder.
Thanks @Lowphat for contributing.
The entry is still at the bar ‘Close’ and places Stops at…[Read more]
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Thanks @simplex
I couldn’t reupload plain source files without the server changing the name all the time. I think it’s because there are files with the same name on the server already. So I zipped them. Hope it works.
V.
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Hi guys,
here is next bugfix version v.1.1
For changes see history log in source files.
@slicken thanks for your contributions.
V.
EDIT: files reuploaded
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Hi guys,
here is next bugfix version v.1.1
For changes see history log in source files.
@slicken thanks for your contributions.
V.
EDIT: files reuploaded
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Hi guys,
here is next bugfix version v.1.1
For changes see history log in source files.
@slicken thanks for your contributions.
V.
EDIT: files reuploaded
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Hi guys,
here is next bugfix version v.1.1
For changes see history log in source files.
@slicken thanks for your contributions.
V.
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
@slicken, @johnbaag, @Bartleby, thanks for contributing. I will look into it and post bugfix version later on.
Meanwhile, has anybody thought about how to implement these ideas from GG53:
As I understand it, peak and through areas are defined by relative positions of Highs and Lows. And as long as a candle is being formed, it’s High or Low…[Read more]
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Attached is new version of the PenguinEA
Changes in logic were made based on GG53 ideas in the quoted posts.
V.VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
I don’t have it as a separate indicator at the moment. I just compared the ea’s behavior to indicator posted by @tankhang
V.
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
wow, a lot of activity here.
I filled out the EA skeleton provided by GG53 with logic from the PeakThroughEA and thus creating the first version of the Penguin EA.
The basic functionality is the same and it has the same performance. There are also other functions provided with the skeleton to dynamicaly calculate TP, SL and Lots.I placed…[Read more]
VlanFx replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
@GG53 Great, looking forward to building this EA

@simplex yes, as I understand it, the EA will need volume data, so it will be very helpful if you can provide some volume functions. We’ll see later on what exactly they should do. Also, running the EA on H4 may make it a little harder to get those volume data as H4 bars don’t ne…[Read more]
- Load More