Forex



Go Back   Forex Trading > Discussion Areas > Suggestions for Trading Systems
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

View Poll Results: Your trading timeframe
5 Mins 0 0%
10 Mins 0 0%
15 Mins 2 13.33%
30 Mins 6 40.00%
1 Hr 2 13.33%
4 Hrs 5 33.33%
Voters: 15. You may not vote on this poll

 
 
Thread Tools
 
Old 12-28-2008, 03:18 PM
Senior Member
 
Join Date: Feb 2006
Posts: 1,211
et_phonehome_2 is on a distinguished road
You can find the EA in FF forum related to Tkimble's thread.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 12-28-2008, 03:30 PM
Junior Member
 
Join Date: May 2007
Posts: 13
a7med is on a distinguished road
Quote:
Originally Posted by et_phonehome_2 View Post
You can find the EA in FF forum related to Tkimble's thread.
if u dont mind can i have the link plz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 12-28-2008, 09:00 PM
Walander's Avatar
Senior Member
 
Join Date: Aug 2008
Posts: 578
Walander is on a distinguished road
This system is like many of the systems posted here and at FF.

It will and always be 100% discretionary regardless of your entry rules because of the fact if you enter during a ranging period, you will stop out in the ranging period.

Remember, moving averages are not meant to be triggers, they are meant to be visual aspects to understanding where the trend is- crossovers and the calculations of MA's will always be based on historical prices and are not influencing future price movements.





Quote:
Originally Posted by nadeem.sama View Post
BUY = IF 3 EMA(LOW) CLOSE ABOVE 20 SMA

BUY CLOSE = IF 3EMA(HIGH) CLOSE BELOW 20 SMA

SELL = IF 3EMA(HIGH) CLOSE BELOW 20 SMA

SELL CLOSE = IF 3 EMA(LOW) CLOSE ABOVE 20 SMA

MONEY MANGEMANET = 10%

TIME = LONDON 9.00 TO 16.00



THNX,

NADEEM.SAMA@YAHOO.COM

Publisher - FREE TECHNICAL ANALYSIS & TRADING SOLUTION.
__________________
http://www.Vancouver-Forex.com

http://www.forex-tsd.com/general-dis...er-create.html

Want to ask a question about fundamental or technical trading? Shoot me a PM- but do your homework first.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 12-30-2008, 07:20 AM
Junior Member
 
Join Date: Dec 2008
Posts: 2
onigemmat is on a distinguished road
Please help me convert my strategy to EA

I want someone to help me write my strategy in EA. I am using pivot points classic for gbpusd. Pivot: (H+L+C)/3, S1: (2*pivot-H), R1: (2*Pivot-L).It uses daily chart. It can only buy or sell once in a day.That is, if it buys, it wont sell vice versa. It buys 35pips before the R1 and Sells 35pips before the S1. Take profit and stoploss are 30pips from the entry price. It only buys or sells once. That is if the R1 is 1.7540, the entry price for buy is 1.7505. If the entry price is initiated once it wont initiate again for that day. It does not use sunday data(HLC) to calculate for Monday pivot, it uses Friday instead. Please, Please and Please help me create the EA.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 01-01-2009, 07:01 AM
Junior Member
 
Join Date: Jan 2009
Posts: 1
johncokos is on a distinguished road
Post Help Please

Hello,

Highly appreciated very much if someone in these great forum could help me to add aditional function for these folowing moving averages as follow:

Ma Method: Simple(SMA)
Perioad : 15
Shift : 3
Price/Apply to : low, high, open, close

Thank you very much for your help.

Have a nice holiday

Happy New Year
John Cokos

//+------------------------------------------------------------------+
//| Custom Moving Average.mq4 |
//| Copyright © 2004, MetaQuotes Software Corp. |
//| Forex Trading Software: Forex Trading Platform MetaTrader 4 |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2004, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net/"

#property indicator_chart_window
#property indicator_buffers 1
#property indicator_color1 Red
//---- indicator parameters
extern int MA_Period=13;
extern int MA_Shift=0;
extern int MA_Method=0;
//---- indicator buffers
double ExtMapBuffer[];
//----
int ExtCountedBars=0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
int draw_begin;
string short_name;
//---- drawing settings
SetIndexStyle(0,DRAW_LINE);
SetIndexShift(0,MA_Shift);
IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS));
if(MA_Period<2) MA_Period=13;
draw_begin=MA_Period-1;
//---- indicator short name
switch(MA_Method)
{
case 1 : short_name="EMA("; draw_begin=0; break;
case 2 : short_name="SMMA("; break;
case 3 : short_name="LWMA("; break;
default :
MA_Method=0;
short_name="SMA(";
}
IndicatorShortName(short_name+MA_Period+")");
SetIndexDrawBegin(0,draw_begin);
//---- indicator buffers mapping
SetIndexBuffer(0,ExtMapBuffer);
//---- initialization done
return(0);
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int start()
{
if(Bars<=MA_Period) return(0);
ExtCountedBars=IndicatorCounted();
//---- check for possible errors
if (ExtCountedBars<0) return(-1);
//---- last counted bar will be recounted
if (ExtCountedBars>0) ExtCountedBars--;
//----
switch(MA_Method)
{
case 0 : sma(); break;
case 1 : ema(); break;
case 2 : smma(); break;
case 3 : lwma();
}
//---- done
return(0);
}
//+------------------------------------------------------------------+
//| Simple Moving Average |
//+------------------------------------------------------------------+
void sma()
{
double sum=0;
int i,pos=Bars-ExtCountedBars-1;
//---- initial accumulation
if(pos<MA_Period) pos=MA_Period;
for(i=1;i<MA_Period;i++,pos--)
sum+=Close[pos];
//---- main calculation loop
while(pos>=0)
{
sum+=Close[pos];
ExtMapBuffer[pos]=sum/MA_Period;
sum-=Close[pos+MA_Period-1];
pos--;
}
//---- zero initial bars
if(ExtCountedBars<1)
for(i=1;i<MA_Period;i++) ExtMapBuffer[Bars-i]=0;
}
//+------------------------------------------------------------------+
//| Exponential Moving Average |
//+------------------------------------------------------------------+
void ema()
{
double pr=2.0/(MA_Period+1);
int pos=Bars-2;
if(ExtCountedBars>2) pos=Bars-ExtCountedBars-1;
//---- main calculation loop
while(pos>=0)
{
if(pos==Bars-2) ExtMapBuffer[pos+1]=Close[pos+1];
ExtMapBuffer[pos]=Close[pos]*pr+ExtMapBuffer[pos+1]*(1-pr);
pos--;
}
}
//+------------------------------------------------------------------+
//| Smoothed Moving Average |
//+------------------------------------------------------------------+
void smma()
{
double sum=0;
int i,k,pos=Bars-ExtCountedBars+1;
//---- main calculation loop
pos=Bars-MA_Period;
if(pos>Bars-ExtCountedBars) pos=Bars-ExtCountedBars;
while(pos>=0)
{
if(pos==Bars-MA_Period)
{
//---- initial accumulation
for(i=0,k=pos;i<MA_Period;i++,k++)
{
sum+=Close[k];
//---- zero initial bars
ExtMapBuffer[k]=0;
}
}
else sum=ExtMapBuffer[pos+1]*(MA_Period-1)+Close[pos];
ExtMapBuffer[pos]=sum/MA_Period;
pos--;
}
}
//+------------------------------------------------------------------+
//| Linear Weighted Moving Average |
//+------------------------------------------------------------------+
void lwma()
{
double sum=0.0,lsum=0.0;
double price;
int i,weight=0,pos=Bars-ExtCountedBars-1;
//---- initial accumulation
if(pos<MA_Period) pos=MA_Period;
for(i=1;i<=MA_Period;i++,pos--)
{
price=Close[pos];
sum+=price*i;
lsum+=price;
weight+=i;
}
//---- main calculation loop
pos++;
i=pos+MA_Period;
while(pos>=0)
{
ExtMapBuffer[pos]=sum/weight;
if(pos==0) break;
pos--;
i--;
price=Close[pos];
sum=sum-lsum+price*MA_Period;
lsum-=Close[i];
lsum+=price;
}
//---- zero initial bars
if(ExtCountedBars<1)
for(i=1;i<MA_Period;i++) ExtMapBuffer[Bars-i]=0;
}
//+------------------------------------------------------------------+
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 01-01-2009, 09:01 AM
Walander's Avatar
Senior Member
 
Join Date: Aug 2008
Posts: 578
Walander is on a distinguished road
I think.. you might need to be a little more clear on exactly what you mean by placing the addition functions into the indicator?

By saying, Price: high, low, open, close are you talking about the sum of the numbers? Or are you talking about individual values?

If so, you can place these on the chart manually...

Quote:
Originally Posted by johncokos View Post
Hello,

Highly appreciated very much if someone in these great forum could help me to add aditional function for these folowing moving averages as follow:

Ma Method: Simple(SMA)
Perioad : 15
Shift : 3
Price/Apply to : low, high, open, close

Thank you very much for your help.

Have a nice holiday

Happy New Year
John Cokos

//+------------------------------------------------------------------+
//| Custom Moving Average.mq4 |
//| Copyright © 2004, MetaQuotes Software Corp. |
//| Forex Trading Software: Forex Trading Platform MetaTrader 4 |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2004, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net/"

#property indicator_chart_window
#property indicator_buffers 1
#property indicator_color1 Red
//---- indicator parameters
extern int MA_Period=13;
extern int MA_Shift=0;
extern int MA_Method=0;
//---- indicator buffers
double ExtMapBuffer[];
//----
int ExtCountedBars=0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
int draw_begin;
string short_name;
//---- drawing settings
SetIndexStyle(0,DRAW_LINE);
SetIndexShift(0,MA_Shift);
IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS));
if(MA_Period<2) MA_Period=13;
draw_begin=MA_Period-1;
//---- indicator short name
switch(MA_Method)
{
case 1 : short_name="EMA("; draw_begin=0; break;
case 2 : short_name="SMMA("; break;
case 3 : short_name="LWMA("; break;
default :
MA_Method=0;
short_name="SMA(";
}
IndicatorShortName(short_name+MA_Period+")");
SetIndexDrawBegin(0,draw_begin);
//---- indicator buffers mapping
SetIndexBuffer(0,ExtMapBuffer);
//---- initialization done
return(0);
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int start()
{
if(Bars<=MA_Period) return(0);
ExtCountedBars=IndicatorCounted();
//---- check for possible errors
if (ExtCountedBars<0) return(-1);
//---- last counted bar will be recounted
if (ExtCountedBars>0) ExtCountedBars--;
//----
switch(MA_Method)
{
case 0 : sma(); break;
case 1 : ema(); break;
case 2 : smma(); break;
case 3 : lwma();
}
//---- done
return(0);
}
//+------------------------------------------------------------------+
//| Simple Moving Average |
//+------------------------------------------------------------------+
void sma()
{
double sum=0;
int i,pos=Bars-ExtCountedBars-1;
//---- initial accumulation
if(pos<MA_Period) pos=MA_Period;
for(i=1;i<MA_Period;i++,pos--)
sum+=Close[pos];
//---- main calculation loop
while(pos>=0)
{
sum+=Close[pos];
ExtMapBuffer[pos]=sum/MA_Period;
sum-=Close[pos+MA_Period-1];
pos--;
}
//---- zero initial bars
if(ExtCountedBars<1)
for(i=1;i<MA_Period;i++) ExtMapBuffer[Bars-i]=0;
}
//+------------------------------------------------------------------+
//| Exponential Moving Average |
//+------------------------------------------------------------------+
void ema()
{
double pr=2.0/(MA_Period+1);
int pos=Bars-2;
if(ExtCountedBars>2) pos=Bars-ExtCountedBars-1;
//---- main calculation loop
while(pos>=0)
{
if(pos==Bars-2) ExtMapBuffer[pos+1]=Close[pos+1];
ExtMapBuffer[pos]=Close[pos]*pr+ExtMapBuffer[pos+1]*(1-pr);
pos--;
}
}
//+------------------------------------------------------------------+
//| Smoothed Moving Average |

//+------------------------------------------------------------------+
void smma()
{
double sum=0;
int i,k,pos=Bars-ExtCountedBars+1;
//---- main calculation loop
pos=Bars-MA_Period;
if(pos>Bars-ExtCountedBars) pos=Bars-ExtCountedBars;
while(pos>=0)
{
if(pos==Bars-MA_Period)
{
//---- initial accumulation
for(i=0,k=pos;i<MA_Period;i++,k++)
{
sum+=Close[k];
//---- zero initial bars
ExtMapBuffer[k]=0;
}
}
else sum=ExtMapBuffer[pos+1]*(MA_Period-1)+Close[pos];
ExtMapBuffer[pos]=sum/MA_Period;
pos--;
}
}
//+------------------------------------------------------------------+
//| Linear Weighted Moving Average |
//+------------------------------------------------------------------+
void lwma()
{
double sum=0.0,lsum=0.0;
double price;
int i,weight=0,pos=Bars-ExtCountedBars-1;
//---- initial accumulation
if(pos<MA_Period) pos=MA_Period;
for(i=1;i<=MA_Period;i++,pos--)
{
price=Close[pos];
sum+=price*i;
lsum+=price;
weight+=i;
}
//---- main calculation loop
pos++;
i=pos+MA_Period;
while(pos>=0)
{
ExtMapBuffer[pos]=sum/weight;
if(pos==0) break;
pos--;
i--;
price=Close[pos];
sum=sum-lsum+price*MA_Period;
lsum-=Close[i];
lsum+=price;
}
//---- zero initial bars
if(ExtCountedBars<1)
for(i=1;i<MA_Period;i++) ExtMapBuffer[Bars-i]=0;
}
//+------------------------------------------------------------------+
__________________
http://www.Vancouver-Forex.com

http://www.forex-tsd.com/general-dis...er-create.html

Want to ask a question about fundamental or technical trading? Shoot me a PM- but do your homework first.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 01-03-2009, 04:42 PM
hollandpippin's Avatar
Junior Member
 
Join Date: Jan 2009
Posts: 6
hollandpippin is on a distinguished road
arrow trading system

indicator V-TBv6
timeframe 15 min
eurusd eurgbp usdcad and eurchf

modification in indicator (wick percent change to 5)

rules:

buy:if green arrow and hold position 15 min and close
sell: if red arrow and hold position 15 min and close

thats it enjoy!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 01-03-2009, 07:00 PM
Cryten's Avatar
Senior Member
 
Join Date: Sep 2006
Location: UK
Posts: 209
Cryten is on a distinguished road
well that's 5 minutes I'll never get back.

indicator is as useful as a chocolate teapot
Attached Files
File Type: mq4 V-TBv6.mq4 (8.0 KB, 119 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 01-04-2009, 03:42 PM
hollandpippin's Avatar
Junior Member
 
Join Date: Jan 2009
Posts: 6
hollandpippin is on a distinguished road
cryten,

u mean the indicator is no good?
does it repaint?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 01-16-2009, 09:29 PM
Member
 
Join Date: Sep 2008
Posts: 65
codobro is on a distinguished road
A chocolate teapot is very useful

Edit: I haven't tested this but looked at the code, it repaints. Test the attached.
Attached Files
File Type: mq4 V-TBv6now.mq4 (8.0 KB, 85 views)

Last edited by codobro; 01-16-2009 at 09:34 PM. Reason: add
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 

Bookmarks

Tags
bartrader, Bartrader EA, bartrader forex, bartrader.ex4, black dog, close the trade, dtosc, dtosc indicator, DTOsc metastock, dtosc metatrader, dtosc mq4, Earlybird V1.ex4, hilbert, makegrid, merdekarama, Merdekarama Ea, Merdekrama, pyratool, raw ideas, reopen, simple verticle, skywalker, SpearmanRankCorr, Stealth Earlybird V1.ex4, systems, trading, v-tbv6
Thread Tools

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 Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for some Fresh Ideas Emerald King Metatrader 4 3 01-11-2007 08:30 PM
Mandarine: original request and ideas hellkas Digital Filters 33 11-04-2006 02:46 PM


All times are GMT. The time now is 04:46 AM.



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