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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Freebie 1 min trading method 1,211 replies

EAs: Spread filter VS News filter 3 replies

Help adding MA filter to indy 0 replies

Adding trading hours filter code for EA 3 replies

Adding email alert to Madro filter? 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 1
Attachments: Help adding a filter to the Freebie Indicator
Exit Attachments
Tags: Help adding a filter to the Freebie Indicator
Cancel

Help adding a filter to the Freebie Indicator

  • Post #1
  • Quote
  • First Post: May 27, 2011 8:57pm May 27, 2011 8:57pm
  •  Dredding82
  • | Commercial Member | Joined Jun 2010 | 2,022 Posts
Hey sup all? I need some help getting my indicator to work....i tried to added a higher TF Heiken Ashi candles color for the "Trend" but for some reason its not filtering the signals with the higher Heiken Ashi candles color. If someone could please take a look at it and help me fix it.

Thanks
Dredding82
Attached File(s)
File Type: mq4 Freebie Signal Alert v2.0.mq4   6 KB | 524 downloads
  • Post #2
  • Quote
  • May 30, 2011 8:55am May 30, 2011 8:55am
  •  zznbrm
  • Joined Jul 2008 | Status: Member | 878 Posts
You are trying to use the shift variable (pos) for both the current chart timeframe and D1.

Do something like this to get the shift value for the D1 chart:

int posD1 = iBarShift( Symbol(), PERIOD_D1, Time[pos] );

Then use "posD1" as the shift in the iCustom calls for the D1 timeframe.
 
 
  • Post #3
  • Quote
  • May 30, 2011 4:20pm May 30, 2011 4:20pm
  •  Dredding82
  • | Commercial Member | Joined Jun 2010 | 2,022 Posts
Quoting zznbrm
Disliked
You are trying to use the shift variable (pos) for both the current chart timeframe and D1.

Do something like this to get the shift value for the D1 chart:

int posD1 = iBarShift( Symbol(), PERIOD_D1, Time[pos] );

Then use "posD1" as the shift in the iCustom calls for the D1 timeframe.
Ignored
Thanks zznbrm i tired that but then i couldnt get it to compile without errors....maybe i will get it working one day once i get alot of other stuff done.
 
 
  • Post #4
  • Quote
  • Last Post: May 30, 2011 6:41pm May 30, 2011 6:41pm
  •  Dredding82
  • | Commercial Member | Joined Jun 2010 | 2,022 Posts
Ok i got it....guess i moved something when i typed that part of the code in.. Thanks man
 
 
  • Platform Tech
  • /
  • Help adding a filter to the Freebie Indicator
  • 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