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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Gann Revisted... 25 replies

Could someone code a MTF Gann indi, please? 4 replies

Gann HiLo Histogram MTF/Dash 0 replies

Can someone code this - MTF Gann Lines? 1 reply

MTF Stochastics into MTF Stoch Histogram 8 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
Tags: mtf gann
Cancel

mtf gann

  • Post #1
  • Quote
  • First Post: Jul 22, 2009 3:10pm Jul 22, 2009 3:10pm
  •  PipinStein
  • | Joined Feb 2009 | Status: Witness Protection | 132 Posts
can anyone show me how to call the mtf gann? I'm doing it as follows:
double gann=iCustom(NULL,0,"#MTF_ ###Gann_HiLo_Activator_v2###",1440,3,PRICE_CLOSE);

1440 = daily timeframe
3 = gann hi/lo value

The function only returns a 0.
anybody?
Without a trade plan, say bye bye to your account & hello to frustration.
  • Post #2
  • Quote
  • Jul 22, 2009 3:22pm Jul 22, 2009 3:22pm
  •  findmanu
  • | Commercial Member | Joined May 2009 | 70 Posts
Are you passing other parameters in the same order as its external variables? That might "sometimes" be important...
 
 
  • Post #3
  • Quote
  • Jul 22, 2009 3:39pm Jul 22, 2009 3:39pm
  •  PipinStein
  • | Joined Feb 2009 | Status: Witness Protection | 132 Posts
figured it out, lol, been trying to 2 days, as soon as I post, got it. I needed to indicate which buffer I'm trying to read from, so I needed to add a 0 after the 3 as indicated below and I got the correct answer

double gann=iCustom(NULL,0,"#MTF_ ###Gann_HiLo_Activator_v2###",1440, 3,0,PRICE_CLOSE);


thanks
Without a trade plan, say bye bye to your account & hello to frustration.
 
 
  • Post #4
  • Quote
  • Last Post: Jul 22, 2009 4:31pm Jul 22, 2009 4:31pm
  •  trendchaser
  • | Membership Revoked | Joined Oct 2007 | 2,124 Posts
you still have a error, remove the price_close at the end and put a 0
that last space is reserved for the bar on the chart, not a price

to make your own gann indy, its just ma high, and ma low, if a bar opens above the high, wel draw the lower ma only, if price opens below the low, wel draw the upper ma only

thought that info might help

Quoting PipinStein
Disliked
figured it out, lol, been trying to 2 days, as soon as I post, got it. I needed to indicate which buffer I'm trying to read from, so I needed to add a 0 after the 3 as indicated below and I got the correct answer

double gann=iCustom(NULL,0,"#MTF_ ###Gann_HiLo_Activator_v2###",1440, 3,0,PRICE_CLOSE);


thanks
Ignored
 
 
  • Platform Tech
  • /
  • mtf gann
  • 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 / ©2023