only using SMA 21 -
1 2 3

thread: only using SMA 21

  1. #11
    Junior Member Merjttipk's Avatar
    26
    Beautiful indeed.
    And also the HPF and LPF MAs match almost perfectly my setting of levels to 13 and -13 that I had added to the first SMA21 for filtering!

    Thanks so much!

  2. #12
    Beautiful indeed.
    Along with also the HPF and LPF MAs match almost perfectly my setting of levels into 13 and -13 which I'd added to the original SMA21 for filtering!

    Thank you so much!
    Cool, glad you enjoy. 1 thing that I discovered over the summer when doodling with charts side by side (MA with Levels verses H/L wave) is some thing which I later saw mentioned here at the factory in a ribbon by Akuma99 called Snake Eyes and that is the propensity of the High / Low moving averages compared to every other will make a type of mouth shape when it begins to consolidate. Neither of those images I posted have that quite defined but you can see the H/L bands extend at bottom and the top of the trend when it begins to consolidate.

    Maybe another feather in our cap of filters. I typically will try to wait for the reversal (though at times my enthusiasm gets the best of me) and also the bands get parallel and close again.

    : ) Thom

  3. #13
    Junior Member Merjttipk's Avatar
    26
    I've made easy EA, but it loosing
    I have modified the preferences of your EA of iHigh (market ) and iLow (buy) to iOpen for both, as the rule stated to start the position at the candle available price.

    I also changed the TP to 300 (was 160) along with also the stoploss to 50 (was at 500).

    I have both your original EA (SL and TP changed though) along with the modified EA running on GBPUSD (two charts) so to compare them. I'll keep you posted

    P.S.: Already spotted a problem: whenever the position gets to the level at which Trailing Stops are triggered (here 50 pips TS) it transfers the stoploss to the true price at 50 pips from available, instead of moving it to break-even. So, closing the position.

    I'm examining it on 14 pairs on another demo, and also spotted it opens some longs below the sma and shorts above, besides opening different ones beneath the fantastic states but on the road back towards the SMA21.

    It seems I can't examine both EAs on precisely the exact same pair even if on various charts, so I'll keep the modified one (iOpen) to carry on and include modifiions.

  4. #14
    Member angel's Avatar
    46
    ON a 4h it functions well. For the past year. A bit heavy on Draw Down, however profitable none the less.
    Thanks for your backtest but looking at it that you backtested with management points rather every tick Alternatives and modelling quality is only 50% rather to become 90% so possibly the result are not so much accurate
    Anyway interesting idea, I'll try to signal an EA for this simple system

  5. #15
    Junior Member paulcast8's Avatar
    16
    This system could do well with some currency management style that is martigale. Open 0.1 lots, if it gets below the 21 SMA, reverse with a 0.2 lot, if it gets stopped out again, reverse with a 0.4 lot and so on. And maybe, you could use the ADX just like to decide whether the market is trending or its ranging. A commerce would work.

  6. #16
    I've modified the preferences of your EA of iHigh (sell) and iLow (buy) into iOpen for both, as the rule stated to open the position at the candle open price.

    I also changed the TP into 300 (was 160) and also the stoploss into 50 (was at 500).

    I've both your original EA (SL and TP changed though) and the modified EA running on GBPUSD (two charts) so to compare them. I'll keep you posted

    P.S.: spotted a problem: whenever the position reaches the level where Trailing Stops are activated (here 50 pips TS) it transfers the stoploss into the true price at 50 pips from open, instead of moving it into break-even. Thus, closing the position.

    I'm examining it on 14 pairs on a different demo, and also spotted it unlocks some longs beneath the sma and shorts above, besides opening different ones beneath the fantastic states but on the road back towards the SMA21.

    It appears I can not examine both EAs on the same pair even though on various charts, so I'll continue to keep the modified one (iOpen) to continue and add modifiions.
    OK, it's very interesting to look at both of them. Would you post your version of EA?

  7. #17
    Member Tyer0's Avatar
    30
    thanks for your backtest but considering it that you backtested with management points rather each tick options and modelling quality is only 50% rather to become 90% so possibly the result aren't so much accurate
    Anyhow interesting idea, I will try to code an EA for this simple system
    I think one of the strength of the program is its ease. Thus, I am sure you close making some tweakening possible and can code a EA with setting possibility both on entry.

    I'd love to forward examine it.

  8. #18
    Junior Member Merjttipk's Avatar
    26
    OK, it's quite interesting to look at both of them. Can you post your version of EA?
    It is still under evaluation... I made a version which would only open the positions and not managing close nor trailings (would need to be set manually) the issue is that then it keeps on opening transactions one after another hour if the status is present... - the first one sets one trade in a time - and did a backtest of it on the egy tester however (only for january however, I don't know why but I attempted to specify a whole year and it gives me back only the month of july 2006...)

    The admissions on other pairs are not as accurate though. And there's still this problem that it seems in some of them to be entering in reverse. On the flip side, what I thought was a issue with trailing stops, seems to be the it shuts and reverses the place whenever the EA generates a new reverse signal (at least it has done that on GBP), this could be very nice.

    It is a bit difficult to test all of those pairs together however, I'll be analyzing all entries more in depth this week-end.

    I am attempting to see whether it would be easier to spot the cross between the SMA21High or Low and the SMA4 (which follows the price tightly) rather than working together with the candles . Appears to give the same open price (will need to check charts backwards at the least for 2006).
    Because the way it is now, it takes transactions on how out (inversed) occasionally.

    Here are the consequences of the only open on GBP, having tweaked the stoploss to 100. With 50 a loss is given by it. However, one month isn't signifiive anyway, in the long term (by today ) it seems to be tending to shed. And has way too much drawdown IMO. So I am back to experimentation with the first one, shing also the parameters of the sma21 variable so the price considered is PRICE_HIGH for longs, and PRICE_LOW for shorts, instead or PRICE_CLOSE (the tunnel above mentioned).

    SMA-21_2cc_only_open

    SymbolGBPUSD (Great Britan vs US Dollar)
    Period1 Hour (H1) 2007.01.02 08:00 - 2007.01.30 00:00 (2007.01.01 - 2007.01.30)
    ModelEvery tick (based on all accessible minimal timeframes with fractal interpolation of each tick)
    ParametersMagicNumber=0; SignalMail=false; EachTickMode=false; Lots=0.1; Slippage=4; StopLossMode=true; StopLoss=100; TakeProfitMode=true; TakeProfit=200; TrailingStopMode=true; TrailingStop=50;

    Bars in test 4304
    Ticks modelled 101478 Modelling quality90.00%
    Initial residue 10000.00
    Total net profit 5788.39
    Gross profit 26679.22 Gross loss -20890.83 Profit variable 1.28Expected payoff 14.96

    Total drawdown 6000.90 Maximal drawdown 8198.97 (67.22%)
    Relative drawdown67.22% (8198.97)
    Total trades 387 Short positions (won%)189 (35.98%) Long positions (won%)198 (47.47%)
    Profit transactions (% of total)162 (41.86%)reduction trades (% of total)225 (58.14%)
    Biggest profit trade 200.20 loss trade -102.97
    Average profit commerce 164.69 loss trade -92.85
    Maximumconsecutive wins (profit in currency )37 (2195.04)consecutive losses (loss in currency )60 (-6000.07) Maximalconsecutive profit (count of wins)7173.27 (36)successive reduction (count of losses)-6000.07 (60) Averageconsecutive wins9consecutive losses13

    The EA could be interesting though as a signal supplier running it on the demo and checking its validity before opening a position...

    Anyway here are equally in raw mode: (DO NOT USE IN A REAL ACCOUNT!)

    https://www.cliqforex.com/attachment...1982150439.mq4
    https://www.cliqforex.com/attachment...0298385502.mq4

  9. #19
    Junior Member Merjttipk's Avatar
    26
    I believe I discovered the potential reason for all of the weird openings as I generally change timeframes a lot. I added another version with the interval made to H1 (PERIOD_H1)
    https://www.cliqforex.com/attachment...1614716347.mq4

  10. #20
    Junior Member Merjttipk's Avatar
    26
    Last edition. Sorry but sometimes I can't edit my posts and I don't understand so I'm putting it here.

    Regards
    Caroline
    https://www.cliqforex.com/attachment...3428526840.mq4

  •