@simplex
Active 1 year, 7 months agosimplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
Thanks for this:
I also experimented with VZO settings different than the defaults suggested in Khalil’s article. I found that VZO 4 … 8, limits around 60 looked interesting, so very much similar to your suggestion.
I will certainly try your breakout, anticipating the reversal! I’m curious how the exact timing will meet CIX and CLEAR.
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
Thank you for yout hints!
Re. enumerations: yes, all trading decisions can be represented by one common enumeration instead of indicator-specific enums. That would be even easier to read and maintain. I will modify my functions in that way.
Re. higher and lower TFs: I fully support your view. Just at the moment I would like to stay with one TF…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
A little motivational post regarding backtests with Offline CIX.
This is the result of a 4 months backtest run on EURUSD H4. Simple entry combination of just CIX and CLEAR, no VZO yet.
Purposefully hardly any trade management yet, because I wanted to get an idea about the entry quality. It’s 1 % risk per trade, 1.0 ATR SL and TP, with moving SL…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
Thank you for clarifying:
In my Penguin_CIX.mqh, it looks like this, because I prefer to work with enumerations in such cases:
enum CIX_TRADE {
CIX_TRADE_NONE,
CIX_TRADE_BUY,
CIX_TRADE_SELL
};Called like this:
CIX_TRADE cixEntry = getCixEntry(symbolIndex, tf, CIX_INDI_NAME, cixSmoothing, cixTrendDepth, Prefix, Suffix);The rest…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
Call For Coders
It’s still too early to publish my latest CIX full version – there’s some code cleanup to do.
But if anybody would like to backtest our EA prototype based on CIX data, I’ve got something to offer: the Offline Version of CIX 4.3.
It works like this: I equipped the full version with a csv export interface, that dumps timestamps as…[Read more]
simplex replied to the topic Trading made even simpler & some discussions on currency strength in the forum General Discussions 10 years, 2 months ago
How about currency strength to identify ‘no trend’ intervals?
s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 2 months ago
I’m afraid that this won’t be enough. The circumstances kapybara & forexdj reported will prevent the EA from opening trades. The error occured in functions BuyStop and SellStop. So this particular check has to be made before an entry, but during trailing as well.
s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 2 months ago
Hi kapybara,
Thanks for reporting! According to your output, the error should NOT occur on your GP account, where
Stop level in points ( MODE_STOPLEVEL ) = 0. On MaxFx the case is clear withStop level in points ( MODE_STOPLEVEL ) = 10As a workaround, please try setting your parameter StopOrdersBuffer to a value greater than the account…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 2 months ago
@VlanFx: maybe it would be a good idea to cut the function from my above posted script and integrate it in the EA. Calling the function once during OnInit() might support debugging.
s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 2 months ago
Thanks for reporting. Obviously the problem occurs when functions BuyStop() and SellStop() are called for an entry:
double stopLevel = MarketInfo(sym, MODE_STOPLEVEL) * point;[Read more]
if (price - ask <= stopLevel) {
Print(__FUNCTION__ + " Price " + price2String(price) + " too close to current price " + price2String(ask) + " Min…simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 2 months ago
Thanks for reporting. Obviously the problem occurs when functions BuyStop() and SellStop() are called for an entry:
double stopLevel = MarketInfo(sym, MODE_STOPLEVEL) * point;[Read more]
if (price - ask <= stopLevel) {
Print(__FUNCTION__ + " Price " + price2String(price) + " too close to current price " + price2String(ask) + " Min…simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 2 months ago
Thanks for reporting. Obviously the problem occurs when functions BuyStop() and SellStop() are called for an entry:
double stopLevel = MarketInfo(sym, MODE_STOPLEVEL) * point;[Read more]
if (price - ask <= stopLevel) {
Print(__FUNCTION__ + " Price " + price2String(price) + " too close to current price " + price2String(ask) + "…simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 2 months ago
I received a PM about our EA v.1.4 throwing out a message like:
2016.02.09 23:57:07 2016.01.04 11:59 Penguin_v_1_4 EURUSD,H4: SellStop Price 1.09038 too close to current price 1.09068 Min distance = 0.00300
Hopefully some more detail will follow, so we can start debugging. I have an idea where to look, but more detail would be helpful!
If…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 2 months ago
Hey guys:
There were private questions relating our Penguin EA v. 1.4. I just forgot to mention that: you have to permit DLL calls when launching the EA, if you haven’t activated DLL use permanently.
The event calendar functions require that. If you do not permit DLL, the EA cannot run.
s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 2 months ago
I think it’s time to update my formerly posted ‘GG53 compilation’ pdf to provide an overview of the most significant posts in both ‘really simple’ threads.
May also serve as sort of specification sheet for fellow coders.
s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 2 months ago
I must admit that there are trading terminals that have programming interfaces which are easier to handle for coding newbies than MT4.
But in the end, some coding is supposed to make trading easier. If you want other tools than the built-in RSI, MA, etc. you or somebody else has to code those tools. That’s a matter of fact. And I disagree that…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
Sorry G., did not have time for that today. I was fully occupied working on the basics of CIX 4. It’s not yet mature enough for a public test, just want to post a pic for review to ensure my direction is ok from your point of view. Local testing and debugging will certainly take one more day. It’s not yet completely stable.
You wrote: Here we…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
Yes, mine is an automatic one, too, but with the opportunity to interact manually if preferred – just like the EA is supposed to be.
Thanks for your entry suggestions, yet this is not the point for me. We’ve had several discussions about USDx anchor and how to reflect it in CS values. This is the specific part where our discussion got stuck in…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
I own a car with a six-step gearbox. I’ve never had the idea to use only one of them, let’s say third or fifth gear. When I drive my car I take the freedom to choose between all six gears with regard to the current situation, reflecting my experience as a seasoned driver.
It’s the same way I’m using the input parameters of my indicators. It just…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 2 months ago
I own a car with a six-step gearbox. I’ve never had the idea to use only one of them, let’s say third or fifth gear. When I drive my car I take the freedom to choose between all six gears with regard to the current situation, reflecting my experience as a seasoned driver.
It’s the same way I’m using the input parameters of my indicators. It just…[Read more]
- Load More