Job finished
Specification
I need an EA with the following functionalities built in:
Must be able to reference price action and 3 indicators on at most 4 time frames (TFs), eg,
If price closes at x on for eg daily (inline with conditions in 7 and 8 below on daily TF),
then after the close of the 1d can, market must then go on to make a new H (for uptrend) pip or a new L (for down trend) on 1hr (inline with conditions in 7 and 8 below on 1hr TF) relative to the daily close
then go on to make a new H or L on the 15m (inline with conditions in 7 and 8 below on 15m TF) relative to the 1h close,
then enter on the close of the subsequent 5m after a new H or L relative to the 15m close is made (inline with conditions in 7 and 8 below on 5m TF), ie, 1d closed→1h closed →15m closed →5m closed (entry)
Yet, must be able to choose to exclude one or more of the time frames depending on my strategy at different times eg, I should be able to bypass at least one time frame above, eg
if price closes at x on for eg daily,
then it must make a new H (for uptrend) or a new L (for down trend) on 1hr relative to the daily close
then enter in 5m with a new H or L relative to 15m close, ie 1d closed→15m closed →5m closed (entry), or so
Or an alternative to 2 See 10 below
The 4 TFs should be selectable as options - 1d, 4h, 1h, 15m, 5m, 1m – this is 6 TFs, must be able to select 4 from the 6
The trend direction must be manually selectable as either - up or down (the EA should not automatically determine trend)
Must be able to choose the integer, for the new H or new L, that needs to be made as per 1 and 2 above
Indicators used are:
Laguerre with usual adjustable values of “Laguerre period” and “Price” - type used in calculation, eg open, close, high, low, weighted, median
Moving Average – standard with usual adjustable parameters including “Period”, “Shift”, “MA method” (EMA, LWMA, SMA, smoothed), “Apply to” (open, close, etc), “Style” (colour, line type)
PSAR – Standard with usual adjustable parameters including “step”, “maximum”, “colour” and “line”
In addition to the new high for an uptrend or new low for a down trend as in 1 and 2 above, the indicators must do the following
For an uptrend – when selected as per 4
Candles (price action) must have closed above the Laguerre and in addition
Moving average must be above the Laguerre and in addition
Candles must be above the PSAR
For a downtrend – when selected as per 4
Candles (price action) must have closed below the Laguerre and in addition
Moving average must be below the Laguerre and in addition
Candles must be below the PSAR
The conditions in 7a and 7b above must be met on each TF (as per 1 and 2) that was chosen as a cue for entry, that is, the same indicator conditions must exist for the (up to four) TF, eg, the daily, 1h, 15m and 5m, if those were the chosen TF to consider for entry
The alternative to 2 is that a particular time frame is not manually excluded from consideration for entry, but that the conditions (7 and 8 above as well as the new H for uptrend or new low for down trend as per 1 and 2) on the lower TF, for eg the 15m, was already achieved by the close of the higher TF, for eg the 1h, and so the lower TF candle is considered as a part of the closed higher TF can and the consideration is therefore to skip the lower TF and go directly to entry (5m) TF, eg
if price closes at x on for eg daily,
then it must make a new H (for uptrend) or a new L (for down trend) on 1hr relative to the daily close
then if 15m can, being a part of the 1hr can, fulfills criteria 7 and 8 as the closing can of the 1hr can
then enter in the 5m with a new H or L relative to the 15m close, ie 1d closed→1h closed (including 15m closed →5m closed (entry)
Ability to specify lot size – 0.01 – infinity
Option to use Stop Loss (SL) or not, and ability to specify SL value in pips
Option to use Trailing Stop (TS) or not and ability to specify TS value
Option to use Take Profit (TP) or not and ability to specify TP value in pips
Optional – hide SL and TP from broker
No restriction of pair, but specifically these pairs must be usable by EA
AUDJPY, AUDUSD, CHFJPY, EURAUD, EURCHF, EURGBP, EURJPY, EURUSD, GBPAUD, GBPCHF, GBPJPY, GBPUSD, USDCAD, USDCHF, USDJPY
Does it matter which TF chart the EA must it be run on? Is it the highest reference TF or any TF?