Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Suggestions for Trading Systems


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 12-14-2007, 12:41 PM
syedks's Avatar
Junior Member
 
Join Date: Dec 2007
Location: London
Posts: 28
syedks is on a distinguished road
Quote:
Originally Posted by newdigital View Post
shift is bar: 0 is current bar, 1 is previous bar.
It is if one MA is below the other MA 2 bar ago but above 1 bar ago - so it is the crossing.

It is the same as X/Y scale. 'Bar' is horizontal scale (same with time scale).
So we are having the value of MA indicator and when this value was taken (bar).
Thanks mate, but here "diMA0>=diMA1 && diMA2<diMA3 then OpenBuy()" where

double diMA0=iMA(NULL,0,MAsmall,0,MAsmallMode,PRICE_CLOSE ,0);
double diMA1=iMA(NULL,0,MAbig,0,MAbigMode,PRICE_CLOSE,0);
double diMA2=iMA(NULL,0,MAsmall,0,MAsmallMode,PRICE_CLOSE ,1);
double diMA3=iMA(NULL,0,MAbig,0,MAbigMode,PRICE_CLOSE,1);

so that means that when current bar is abiove or equal to previous one (means its heading up) and MA2 (which is fast i believe) is lower then MA2 (slower) then buy??? I thought when slower is crossing below then its a buy order - shouldnt the logic be diMA0>=diMA1 && diMA2>diMA3 then OpenBuy ????

or should i change the following variables to

extern double MAsmall = 25;
extern double MAbig = 10; ????
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RSI crossover EA Pinggarcia Expert Advisors - Metatrader 4 32 05-25-2007 04:49 AM
Interesting GBP/USD MA Crossover system frantacech Expert Advisors - Metatrader 4 4 02-20-2007 06:36 PM
Double CCI crossover Thruline Indicators - Metatrader 4 1 12-14-2005 08:22 AM


All times are GMT. The time now is 10:03 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.