• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 10:50am
  • Search
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 10:50am
Search
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Search

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

Simple Moving Average Vs. Moving Average? 7 replies

Tick On Chart for monitoring purposes 1 reply

scalping profit m5 with fractal and moving average 14 replies

Developing algo for Modified Bollinger Band Scalping Strategy 3 replies

  • Trading Systems
  • /
  • Reply to Thread
  • Subscribe
  • 6
Attachments: Modified Moving Average (for Scalping purposes)
Exit Attachments

Modified Moving Average (for Scalping purposes)

  • Post #1
  • Quote
  • First Post: Edited Oct 17, 2018 12:42am Oct 15, 2018 3:17pm | Edited Oct 17, 2018 12:42am
  •  Rafei
  • Joined Sep 2014 | Status: Member | 104 Posts
Dear traders,
Hi.

I have an idea about a modification of moving average indicator and want to share it here. I hope it will be helpful and by your help we improve its performance. The simple idea is described as follows.

Modified MA:

In MA we sum up last p price and divide the summation to the p (number of samples). Instead, if we divide the summation to the value of last price (e.g. close price of the last candle), then we have an oscillating MA:

OSC_MA(i) = c0 - [x(i+p) + x(i+p-1) + ... + x(i+1) + x(i)] / x(i) , i = 0 : Bars;

where c0 is a constant to shift the result toward zero (c0 is set to p).

I have written the MQL4 script for this indicator and attached it.

Notes:
1) For the best accuracy and utilization, it is suggested to use this indicator in 1-Minute time frame and for the purpose of scalping or day trading.

2) The indicator is best to use in divergence condition. When indicator shows divergence, then I find that 1-Minute trend (and sometimes hourly trend) reverse soon or price holds at that level (i.e. waiting for divergence and trading in the direction of hourly trend are vital).

3) Regions between 0.1 ~ 0.15 (selling region) & -0.1 ~ -0.15 (buying region) are of concern when default options are set (period = 90 in 1-Minute time frame). Rarely the indicator approaches 0.2 and -0.2 and beyond.

4) Attention to the support and resistance zones and trend lines would help the trader for better entry and exit points.

5) In a short trend, pullbacks from level "0" may be the initial of consequent waves to reach higher highs or lower lows and trade the pullback (from 0) in a trend seems a safer trade.

6) Suggested currency pair: EUR/USD.


I have attached an image which shows the action of the indicator in 1-Minute time frame.

Please note that the indicator alone is not enough to trade, one should use his/her knowledge of trading. Please check the indicator on a demo account!

Your opinions and ideas would improve the indicator and are appreciated.
Attached Image (click to enlarge)
Click to Enlarge

Name: modified_MA.png
Size: 36 KB
Attached Files
File Type: ex4 Modified_MA_00.ex4   8 KB | 321 downloads
File Type: mq4 Modified_MA_00.mq4   2 KB | 386 downloads
HE WHO STRONGLY DESIRES TO RISE UP WILL THINK OF A WAY TO BUILD A LADDER.
  • Post #2
  • Quote
  • Oct 16, 2018 1:26am Oct 16, 2018 1:26am
  •  hapanoy
  • Joined Aug 2012 | Status: Member | 247 Posts
Testing, thank you for sharing.....
1
  • Post #3
  • Quote
  • Oct 16, 2018 4:48am Oct 16, 2018 4:48am
  •  vinetum
  • | Joined Oct 2016 | Status: Member | 79 Posts
Rafei

Thnx a lot for sharing. It seems very helpfull.

Regards
1
  • Post #4
  • Quote
  • Oct 16, 2018 5:48am Oct 16, 2018 5:48am
  •  Erebus
  • Joined Jul 2011 | Status: Member | 4,691 Posts
Have you checked this man's work?

Ha has every MA invented

https://www.mql5.com/en/users/mladen
2
  • Post #5
  • Quote
  • Edited at 6:31am Oct 16, 2018 6:09am | Edited at 6:31am
  •  Rafei
  • Joined Sep 2014 | Status: Member | 104 Posts
Quoting Erebus
Disliked
Have you checked this man's work? Ha has every MA invented https://www.mql5.com/en/users/mladen
Ignored
Wow, he has created a bank of indicators. I looked for MAs & oscillators and found some other versions of MA. Please if you find same version of MA, then let me know and I refer the readers to that post.
Thanks.
HE WHO STRONGLY DESIRES TO RISE UP WILL THINK OF A WAY TO BUILD A LADDER.
1
  • Post #6
  • Quote
  • Oct 16, 2018 6:27pm Oct 16, 2018 6:27pm
  •  GoldTheHun
  • Joined Nov 2014 | Status: Member | 384 Posts
Quoting Rafei
Disliked
{quote} Wow, he has created a bank of indicators. I looked for MAs & oscillators and found some other versions of MA. Please if you find same version of MA, then let me know and I refer the readers to that post. Thanks.
Ignored
Rafei,

Your thinking is outside the box and I personally appreciate that. Other MA's are just moving averages with a lot of fancy looks and most of them does not serve any purpose other than the looks.

Thank you for sharing your idea...
1
  • Post #7
  • Quote
  • Oct 17, 2018 1:04am Oct 17, 2018 1:04am
  •  Rafei
  • Joined Sep 2014 | Status: Member | 104 Posts
Thanks for your replies, I am waiting for your new ideas and challenging them.

Here is an example of some situations based on pullbacks from "0" when a 1-minute time frame trend is initialized. I invite you to suggest other and better trade setups.
Attached Image (click to enlarge)
Click to Enlarge

Name: 2018-10-17_8-21-47.png
Size: 37 KB
HE WHO STRONGLY DESIRES TO RISE UP WILL THINK OF A WAY TO BUILD A LADDER.
  • Post #8
  • Quote
  • Edited at 3:24am Oct 17, 2018 3:03am | Edited at 3:24am
  •  Rafei
  • Joined Sep 2014 | Status: Member | 104 Posts
Sometimes indicator hit level "-0.1" (or "+0.1") and then pulls back (with little divergence)! Here is an example.

I am wonder if we can find that times!

I see that in an up-trend, indicator hit level "+0.1" several times or exceeds that level toward "+0.15" and rarely "+0.2" (until divergence), and vice versa in down-trend ("-0.1" and sometimes toward "-0.15" or "-0.2").

But:

* When does indicator hit level "-0.1" or "+0.1" just once ?!

A quick answer is: when trend is up, then if indicator hit level "-0.1", it immediately pullbacks from that level toward "0" and then "+0.1" .

Any idea?
Attached Image (click to enlarge)
Click to Enlarge

Name: 2018-10-17_10-26-43.png
Size: 54 KB
HE WHO STRONGLY DESIRES TO RISE UP WILL THINK OF A WAY TO BUILD A LADDER.
  • Post #9
  • Quote
  • Edited at 5:14am Oct 17, 2018 4:56am | Edited at 5:14am
  •  Rafei
  • Joined Sep 2014 | Status: Member | 104 Posts
Another example which shows reaction of -0.1 and +0.1 levels. But, there is a percentage of uncertainty about these cases!

We are looking for another filter or definition to eliminate such uncertainties!

Any idea?
Attached Image (click to enlarge)
Click to Enlarge

Name: 2018-10-17_12-23-47.png
Size: 49 KB
HE WHO STRONGLY DESIRES TO RISE UP WILL THINK OF A WAY TO BUILD A LADDER.
  • Post #10
  • Quote
  • Edited at 6:26am Oct 17, 2018 5:20am | Edited at 6:26am
  •  v2vboni
  • Joined Sep 2015 | Status: ob-la-di, ob-la-da, life goes on... | 2,414 Posts
Quoting Erebus
Disliked
Have you checked this man's work? Ha has every MA invented https://www.mql5.com/en/users/mladen
Ignored

He's like the Genesis of indicators... Most of my coding framework/structures are patterned from his ─ not limited to formula/algorithms... and in combination with known coders like mrtools and lukeb. I truly learned a lot from them.
Intelligence is the ability to adapt to change. -- Stephen Hawking
1
  • Post #11
  • Quote
  • Last Post: Sep 10, 2019 12:29pm Sep 10, 2019 12:29pm
  •  NothingElse
  • | Joined Sep 2019 | Status: Member | 6 Posts
Thanks a lot for sharing! We really need MTF version with alerts!
Thread Tools Search this Thread
Show Printable Version Show Printable Version
Email This Thread Email This Thread
Search this Thread:

Advanced Search

  • Trading Systems
  • /
  • Modified Moving Average (for Scalping purposes)
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2019