• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 11:21am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 11:21am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Simple Moving Average Vs. Moving Average? 8 replies

Setting Up Moving Average Crossover Alert? 60 replies

Simple 5 / 8 moving average crossover 1,168 replies

Need alert: moving average crossover 14 replies

Moving average crossover alert!! 3 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 9
Attachments: Moving Average Crossover Awareness Indicator
Exit Attachments
Tags: Moving Average Crossover Awareness Indicator
Cancel

Moving Average Crossover Awareness Indicator

  • Post #1
  • Quote
  • First Post: Edited Jan 11, 2013 2:03pm Oct 19, 2011 6:19pm | Edited Jan 11, 2013 2:03pm
  •  tener
  • | Joined Aug 2011 | Status: Member. Coder. | 20 Posts
This is Gus.

I started coding it for another thread. An MAX system getting trend direction from higher timeframes, then entering in that direction on lower timeframes.

I've been receiving requests about/for Gus and the code has turned into a real hack job now, so I'm gonna stop messing with it.

Enjoy.
Attached Image (click to enlarge)
Click to Enlarge

Name: popular_demand_gus.png
Size: 51 KB
Attached File(s)
File Type: mq4 Gus_LabelMod.mq4   6 KB | 819 downloads
  • Post #2
  • Quote
  • Oct 20, 2011 2:13am Oct 20, 2011 2:13am
  •  regme
  • | Joined Mar 2010 | Status: Planning to be like Warren Buffett | 115 Posts
Thanks Tener, for Multicurrency Indicator.

I am using MTF, MA cross strategy. This indicator will help me to keep eye on more currencies.

How can I put more indicators on one chart at same time, as I use two ema cross above/below another EMA to enter in trade, in direction of Higher TF.
 
 
  • Post #3
  • Quote
  • Oct 25, 2011 3:00pm Oct 25, 2011 3:00pm
  •  greenonyx
  • | Joined May 2011 | Status: Member | 21 Posts
Hello Tener, thanks for sharing, loved that multi currency indicator, but there's no currency and their ma diff in my chart below, only the headings, anything I've missed installing it? Also I like your version of the time until close of bar indi that you have, is there a way you can share it, please...thanks a lot
Attached Image
 
 
  • Post #4
  • Quote
  • Nov 13, 2011 8:30pm Nov 13, 2011 8:30pm
  •  tener
  • | Joined Aug 2011 | Status: Member. Coder. | 20 Posts
Quoting greenonyx
Disliked
Hello Tener, thanks for sharing, loved that multi currency indicator, but there's no currency and their ma diff in my chart below, only the headings, anything I've missed installing it?
Ignored
I'm not entirely sure, it seems to be working fine for me with black backgrounds and changing the normal_label_color to white.

Make sure the symbols[] array is populated with a few pairs. e.g. when you open the indicator to modify it, line 36 is:
Inserted Code
string symbols[]= {
make sure the lines that follow that line look like:
Inserted Code
   "AUDUSD",
   "EURUSD",
   "XAUJPY",
or whatever symbols you would like to monitor.

I'm not going to get into the syntax of MQL; if it compiles and there is at least on pair in that list, then you should be seeing the monitored pairs in the same color as 'normal_label_color'.

EDIT:
I just looked at your screenshot again, it says that it's watching 32 pairs, so that list does indeed have entries. Also, that's an older version of Gus_Labelmod. Download the newer version in post #1 of this thread.

Quoting greenonyx
Disliked
Also I like your version of the time until close of bar indi that you have, is there a way you can share it, please...thanks a lot
Ignored
I pretty much just took the math from one of the many available clocks that follow the price like
Inserted Code
< 0:52:4
then formatted it correctly so a new hourly candle would show:
Inserted Code
< 00:52:04
then put the label in the top-right corner with a big font size, instead of jumping around, following price action...

I'll attach it. Note, though, that there aren't any options for font size or font name. The reason is that it is difficult to keep the formatting congruent across all the variable widths, heights and spacings for each different font (of course, you're welcome to scroll down in the code and play with the numbers yourself).
Attached File(s)
File Type: mq4 clock-only.mq4   2 KB | 364 downloads
 
 
  • Post #5
  • Quote
  • Nov 20, 2011 9:44am Nov 20, 2011 9:44am
  •  greenonyx
  • | Joined May 2011 | Status: Member | 21 Posts
Hello Tener, thanks for the reply, it's working fine now, love it......
 
 
  • Post #6
  • Quote
  • Nov 20, 2011 9:51am Nov 20, 2011 9:51am
  •  tener
  • | Joined Aug 2011 | Status: Member. Coder. | 20 Posts
Excellent.

Good luck this week.
 
 
  • Post #7
  • Quote
  • Edited 1:19pm Jul 4, 2012 1:07pm | Edited 1:19pm
  •  greenonyx
  • | Joined May 2011 | Status: Member | 21 Posts
Hello Tener,

This is just a request if I may. Is there a way to modify your GusLabelMod indicator to calculate the difference between the bid or ask and the low or high of the previous bar, just like a breakout out system, no more MA's, I'm sure there'll be a lot of traders who'll be interested in this. I've searched around FF but I can't find one or can you point me to where I could get one. I like the format of your indicator wherein I could watch a lot of pairs. Thanks in advance.....
 
 
  • Post #8
  • Quote
  • Jul 4, 2012 3:02pm Jul 4, 2012 3:02pm
  •  tener
  • | Joined Aug 2011 | Status: Member. Coder. | 20 Posts
First stab at your mod.

I took the mean of the bid and the ask and the mean of previous day's high and low. If the price is closer to the previous high, it's green, otherwise it's red.

The only question I had for myself is, what if, like in the attached image, the price has already broken outside of the previous low?

Leave as is? Use different arrows for inside/outside previous price range? Don't highlight?

idk..
Attached Image (click to enlarge)
Click to Enlarge

Name: gus_greenonyxmod_a1.PNG
Size: 398 KB
Attached File(s)
File Type: mq4 Gus_LabelMod_greenonyx.mq4   7 KB | 383 downloads
 
 
  • Post #9
  • Quote
  • Jul 4, 2012 3:25pm Jul 4, 2012 3:25pm
  •  tener
  • | Joined Aug 2011 | Status: Member. Coder. | 20 Posts
Also, if you get the "Unknown symbol XXXXXX" on pairs you know to exist, check to make sure they're in your Market Watch list..

Attached Image (click to enlarge)
Click to Enlarge

Name: gus_greenonyxmod_a2.PNG
Size: 951 KB
 
 
  • Post #10
  • Quote
  • Jul 5, 2012 12:57am Jul 5, 2012 12:57am
  •  greenonyx
  • | Joined May 2011 | Status: Member | 21 Posts
WOW that's so fast Tener, thanks for the quick reply, I've been thinking about this for a while ago and I try to find answer here on FF just didn't know that all I have to do is ask, wow I'm really really grateful for this man. Let me have a look at it and see how it works....I really appreciate it, THANKS again...
 
 
  • Post #11
  • Quote
  • Jul 5, 2012 12:10pm Jul 5, 2012 12:10pm
  •  greenonyx
  • | Joined May 2011 | Status: Member | 21 Posts
A request again, if I may, can you put a toggle switch, like UP or DOWN. In your chart example, I'm not sure what the value 1.51673 (AP) is, is it the ASK. If UP, distance calculation will be AP minus previous bar high, if positive, GREEN, if not BLACK. If DOWN, the reverse of it. I'm only be using this on MN, WK1 & D1 charts . Thanks again in advance, I really appreciate your help...
 
 
  • Post #12
  • Quote
  • Jul 5, 2012 2:41pm Jul 5, 2012 2:41pm
  •  tener
  • | Joined Aug 2011 | Status: Member. Coder. | 20 Posts
Quoting greenonyx
Disliked
A request again, if I may, can you put a toggle switch, like UP or DOWN.In your chart example, I'm not sure what the value 1.51673 (AP) is, is it the ASK. If UP, distance calculation will be AP minus previous bar high, if positive, GREEN, if not BLACK. If DOWN, the reverse of it.
Ignored
What?

I'll take out the current price averaging to make it at least a little more clear by using only the bid price. You might have to explain what you mean a different way, though, because I didn't understand any of that.

Quoting greenonyx
Disliked
I'm only be using this on MN, WK1 & D1 charts .
Ignored
In my chart example above, you can notice that my actual chart is the H1, but Gus is not looking at the chart it's attached to at all. It's only looking at the previous bar of the timeframe specified; in my case the D1.

Attached Image


As a quick reference:

Monthly = 43200
Weekly = 10080
Daily = 1440

http://docs.mql4.com/constants/timeframes

Using other values gives results that could be described as interesting..
Attached File(s)
File Type: mq4 Gus_LabelMod_greenonyx2.mq4   7 KB | 485 downloads
 
 
  • Post #13
  • Quote
  • Jul 6, 2012 1:52am Jul 6, 2012 1:52am
  •  greenonyx
  • | Joined May 2011 | Status: Member | 21 Posts
Hello again, sorry for the confusion I was not able to explain my intention clearly. I've look up your codes & before I thought your using the average of previous bar's high and low to get the distance against price, but it's not the case, actually you calculate it the way I want it. I'm happy the way it is and THANK YOU once again for your help, appreciate it. Good luck to you on your trading....
 
 
  • Post #14
  • Quote
  • Last Post: Sep 4, 2014 2:40pm Sep 4, 2014 2:40pm
  •  Ck87
  • | Commercial Member | Joined Oct 2012 | 3,968 Posts
Quoting tener
Disliked
{quote} What? I'll take out the current price averaging to make it at least a little more clear by using only the bid price. You might have to explain what you mean a different way, though, because I didn't understand any of that. {quote} In my chart example above, you can notice that my actual chart is the H1, but Gus is not looking at the chart it's attached to at all. It's only looking at the previous bar of the timeframe specified; in my case the D1. {image} As a quick reference:Monthly = 43200 Weekly = 10080 Daily = 1440 http://docs.mql4.com/constants/timeframes...
Ignored
Hi for some reason this indicator is downloading as a txt document for me. Any idea why that is.? I use a macbook pro.
 
 
  • Platform Tech
  • /
  • Moving Average Crossover Awareness Indicator
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • X
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
  • X

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

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

Terms of Service / ©2023