simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 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]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 months ago
ClearMethod Histogram:
This requires at least 2 TF’s, current and Higher. Current defines Peak or Trough area, Higher TF’s define the longer trend.
Current ClearMethod can be enhanced by combining it with ADX (ADXcandle or SuperADX variations).
VZO:
Defines entry bar, either on Peak or Trough, in the direction of the Higher TF of the…[Read more]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 months ago
ClearMethod Histogram:
This requires at least 2 TF’s, current and Higher. Current defines Peak or Trough area, Higher TF’s define the longer trend.
Current ClearMethod can be enhanced by combining it with ADX (ADXcandle variation or SuperADX).
VZO:
Defines entry bar, either on Peak or Trough, in the direction of the Higher TF of the…[Read more]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 months ago
ClearMethod Histogram:
This requires at least 2 TF’s, current and Higher. Current defines Peak or Trough area, Higher TF’s define the longer trend.
Current ClearMethod can be enhanced by combining it with ADX (ADXcandle variation or SuperADX).
VZO:
Defines entry bar, either on Peak or Trough, in the direction of the Higher TF of the…[Read more]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 months ago
ClearMethod Histogram:
This requires at least 2 TF’s, current and Higher. Current defines Peak or Trough area, Higher TF’s define the longer trend.
Current ClearMethod can be enhanced by combining it with ADX (ADXcandle variation or SuperADX).
VZO:
Defines entry bar, either on Peak or Trough, in the direction of the Higher TF of the…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 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, 5 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]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 months ago
CS should be implemented as already described: by calling a function that returns 1, -1, or 0 (Long, Short, None).
Long signal for currency pair AB is when currency A is above 0 and pointing up, currency B is below 0 and pointing down.
The opposite is for Short.
Other variations returns 0 (None).
Optional addition to the above is a…[Read more]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 months ago
CS should be implemented as already described: by calling a function that returns 1, -1, or 0 (Long, Short, None).
Long signal for currency pair AB is when currency A is above 0 and pointing up, currency B is below 0 and pointing down.
The opposite is for Short.
Other variations returns 0 (None).
Optional addition to the above is a…[Read more]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 months ago
CS should be implemented as already described: by calling a function that returns 1, -1, or 0 (Long, Short, None).
Long signal for currency pair AB is when currency A is above 0 and pointing up, currency B is below 0 andf pointing down.
The opposite is for Short.
Other variations returns 0 (None).
Optional addition to the above is a…[Read more]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 months ago
CS should be implemented as already described: by calling a function that returns 1, -1, or 0 (Long, Short, None).
G.
gg53 replied to the topic Trading made even simpler & some discussions on currency strength in the forum General Discussions 10 years, 5 months ago
Strange opinion, since it’s my main trading strategy for years…
G.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 5 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, 5 months ago
How about currency strength to identify ‘no trend’ intervals?
s.
gg53 replied to the topic Trading made even simpler & some discussions on currency strength in the forum General Discussions 10 years, 5 months ago
Trend can be identified using Peak & Trough combined current & higher TF’s, such as in simplex histogram indicator.
G.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 5 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.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 5 months ago
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 5 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]
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 5 months ago
Good idea.
Also add “Debug” (true/false) to user’s parameters to optionally activate/deactivate this function in OnInit().
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 5 months ago
Good idea.
Also add “Debug” (true/false) to user’s parameters to activate/deactivate this function in OnInit().
G.
- Load More