maximus_vX lite

0
(0)
Name:
maximus_vX lite
Author: Evgeny I. SHCHERBINA (2013.05.28 07:57)
Downloaded: 2082
Download:
maximus_vX lite 1
 maximus_vX lite EN.mq4 (9.4 Kb) View
I have decided to post the basics of maximus expert advisor for public consideration. This includes identification of consolidations in the chart and trading based on consolidations. Price consolidation is a spot in the chart where market gets stuck and cannot make a definite move for a while. Maximus tracks such consolidations in the past, draws them in the chart and then opens deals if consolidations' boundaries get hit. Two green lines on top define a buy consolidation (which can also lead to a sell deal in the opposite direction), two red lines at bottom define a sell consolidation (which can also lead to a buy deal). White lines are the start and end of where a consolidation was identified. If you don't see white lines, this means a consolidation was identified based on pivot points (these can be 1.2500, 1.2600, 1.2700 etc for EURUSD). So simple.

Parameters. Parameters which set up the EA resemble those used in previous versions of maximus (check out info in my profile):

  • delay_open – once this expires a new deal may be opened (1 - 15 mins, 2 - 30 mins etc); timer restarts after each trade operation;
  • distance – points from consolidation after which a deal opens;
  • period - once this expires, a new consolidation search is performed (hours);
  • range - minimal range between lower and upper consolidations;
  • risk - this defines lot; the higher the value, the lower is lot;
  • stop_loss - should not be changed;
  • trail - usually should accept same values as range does.

Limitations. The above code:

  1. works only on a demo account and only with EURUSD
  2. relies on global variables which should be removed before each new session
  3. does not include a whole range of functions which should be optimal for finalizing the logic of the advisor (automatic calculation and compensation of potential losses, tracking piques based on standard deviation, automatic optimization of new trading parameters, "add-on" deal, "against the grain" deal, sounds and error printing)
  4. includes a number of intentional errors, so it MUST NOT be used on live accounts, even if modified
  5. may only be used with 5-digit depo

Proceeding method. Forex newbies, your straightforward "I-shall-kill-you-in-a-minute-by-testing-on-a-period-of-3-years" tactics will fail you just like that. No advisor can stand a 3-year test with the same parameters. Even if it can, you will most certainly get a close to zero profit. So the basic proceeding method is the same as the one described for other versions of maximus (check out more info in my profile). To summarize. Optimizing 1-1.5 k variations for a period of 1-2 weeks, matching most profitable parameters and trading for the next week based on these new parameters. H1 chart EURUSD, all calculation is performed based on 15 min timeframe.

Brainstorm. My purpose is to discuss this consolidation based trading. Looking forward to hearing any suggestions regarding consolidation improvements. For example, the picture shows: 1) a consolidation somewhere in the lower part of a long-term trend up and 2) a consolidation of a trend down which ran out. These are different types of consolidations. It probably stands to reason to integrate a kind of type assignment and, say, open different lots matching different consolidations. Please tell me what you think!

Misc. I am not going to read internal messages, any discussion should be open and develop on this page. If you ask me to implement 4-digit deposit methods, other instruments, modify it to work without global variables, explain once over what consolidation is etc etc, I am going to yawn at you.

maximus_vX lite 2

1 comment  To post a new comment, please log in or register

When you are by your definitions in "Range" then you will want to consider using BuyLimits and BuyStops outward from price until you get to the area you will call "Trend." In trend you will want to profit from a trend move. On the two lines you represent as 1 & 2 I believe these could be your "unknown" area where you work to get flat in your net lots.

This will allow you to pre-identify key trigger areas that will let you know you are in trend, in range or in the unknown areas.

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.