• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 10:16pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 10:16pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

8EMA/21EMA plus MACD and RSI - The worst system you have ever seen 32 replies

Trade using bid chart or ask chart? 7 replies

Comparing a rectangle param to current bar 8 replies

15 min indicator on 5 min chart 3 replies

Common criteria for comparing systems 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
Tags: Comparing current bid to the 8EMA on a 60 min chart...
Cancel

Comparing current bid to the 8EMA on a 60 min chart...

  • Post #1
  • Quote
  • First Post: Edited 8:45pm Oct 21, 2007 8:11pm | Edited 8:45pm
  •  Palmer
  • | Joined Apr 2005 | Status: Cruising The Outer Rim... | 2,175 Posts
I want a condition to have the 8 ema on the 60min chart to be > then the current bid price...I'm using the following:

iMA(NULL,60,8,0,MODE_EMA,PRICE_CLOSE,pos) > Bid;

But, nothing is changing with the indicator I am writing this for. I have a 60min chart open also...any thoughts???

And:

'pos' is the following:

int start()
{



int counted_bars=IndicatorCounted();

//---- check for possible errors
if (counted_bars<0) return(-1);
//---- last counted bar will be recounted
if (counted_bars>0) counted_bars--;

int pos=Bars-counted_bars;
  • Post #2
  • Quote
  • Oct 22, 2007 7:13am Oct 22, 2007 7:13am
  •  melpheos
  • Joined Jan 2007 | Status: Stochastic pipster | 1,657 Posts
should the iMA be

iMA(NULL,PERIOD_H1,8,0,MODE_EMA,PRICE_CLOS E,pos) > Bid;

and do you have :

pos = iBarShift( NULL, PERIOD_H1, Time[i] ); ?
 
 
  • Post #3
  • Quote
  • Last Post: Oct 22, 2007 8:37am Oct 22, 2007 8:37am
  •  Palmer
  • | Joined Apr 2005 | Status: Cruising The Outer Rim... | 2,175 Posts
That might be it melpheos...I'll look into it this evening.

Thanks
 
 
  • Platform Tech
  • /
  • Comparing current bid to the 8EMA on a 60 min chart...
  • 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