Forex
Google
www.rentasignal.com Metatrader Signals Marketplace

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

Notices


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
 
Thread Tools Display Modes
  #1 (permalink)  
Old 08-21-2007, 06:33 PM
Senior Member
 
Join Date: Jul 2007
Posts: 186
jjk2 is on a distinguished road
oscillator from MBA Thesis

UPDATE November 18, 2007


The MBA Thesis paper is finally available. plz send me a private message if you want the copy. if ur worthy i shall give u.
Attached Images
File Type: gif scr4.gif (22.7 KB, 1965 views)
Attached Files
File Type: mq4 MBA Thesis Indicator.mq4 (3.0 KB, 525 views)

Last edited by jjk2; 11-18-2007 at 10:18 PM. Reason: update. forgot to thank omellette and other ppl who helped earlier.
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!
Reply With Quote
  #2 (permalink)  
Old 08-21-2007, 08:31 PM
Junior Member
 
Join Date: Dec 2006
Posts: 1
NiCForce is on a distinguished road
Volume

I dont knows,
pherhebs this can help u
New Voume Indicator is here !!
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!
Reply With Quote
  #3 (permalink)  
Old 08-21-2007, 09:46 PM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Hi. You are making a few errors defining buffers and using the iMAonArray function. You also need an explicit check for zero divide situations.

Anyway here is what results. Any pointers on its usage?
Code:
#property copyright "Metatrader4 Code by jjk2. Based on MBA Thesis from Simon Fraser University written by C.E. ALDEA."
#property link      ""
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 Red
 
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicator drawing
   IndicatorBuffers(2);
   SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,3,Green);
   SetIndexBuffer(0,ExtMapBuffer1);
  
   SetIndexStyle(1,DRAW_NONE,STYLE_SOLID,3,Yellow);//DRAW_NONE,EMPTY,EMPTY);
   SetIndexBuffer(1,ExtMapBuffer2);
  
    
///-----Name of Indicator  
   string short_name = "ZigZag BETA    Current value calculated by indicator:";
   IndicatorShortName(short_name);

//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
  
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int counted_bars = IndicatorCounted();
   int pos = Bars - counted_bars - 9;
   int temp = pos;
 //----
  
  
   if (counted_bars<0) return(-1);
    
    
   if (counted_bars>0) counted_bars--;
  
   while(pos>0)
    {
          
         //string xxx = "pos";  
                
         double MACD = iMACD(NULL,0,12,26,9,PRICE_CLOSE,0,pos);
         double Stoch = iStochastic(NULL,0,9,6,2,MODE_SMA,1,0,pos);
         double RSI = iRSI(NULL,0,9,PRICE_CLOSE,pos);
         double moment = (iMomentum(NULL,0,9,PRICE_CLOSE,pos));
         //double momentum = (Close[pos]-Close[pos+9]);
         //double Roc = (Close[pos]/Close[pos+9])*100;
         double Volu = iVolume(NULL,0,pos);
        
         //Main Forumla
         //double preFormula = (/Momentum);
         if (moment != 0)
          ExtMapBuffer2[pos] = Stoch*(RSI)/moment;        
          
         //Alert("MACD: ", MACD," ","Stoch: ", Stoch," ", "RSI: ", RSI," ","Momentum: ", momentum," ","Volume: ", Volu);
        
         //Alert(Stoch*(RSI)/Roc);
        
         pos--;
     }
         
         while (temp > 0) {
          double Formula = iMAOnArray(ExtMapBuffer2,0,2,0,MODE_SMA,temp);
          ExtMapBuffer1[temp] = Formula;
          temp--; }
//----
   return(0);
  }
//+------------------------------------------------------------------+

Last edited by omelette; 08-21-2007 at 10:44 PM.
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!
Reply With Quote
  #4 (permalink)  
Old 08-21-2007, 11:37 PM
Senior Member
 
Join Date: Jul 2007
Posts: 186
jjk2 is on a distinguished road
http://www.sfu.ca/%7Ejjk2/DSCF3535.GIF
http://www.sfu.ca/%7Ejjk2/DSCF3536.GIF
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!
Reply With Quote
  #5 (permalink)  
Old 08-23-2007, 02:25 AM
Senior Member
 
Join Date: Jul 2007
Posts: 186
jjk2 is on a distinguished road
screenshot and a few other comments

deleted the crappier verison.

Last edited by jjk2; 11-11-2007 at 01:59 AM. Reason: deleted the crappier verison.
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!
Reply With Quote
  #6 (permalink)  
Old 08-24-2007, 12:09 AM
Member
 
Join Date: Jul 2007
Posts: 93
walterw is on a distinguished road
From what I see in terms of usage, this indicator is showing some key pivots where some kind of reversal is going to happen, using it in conjunction with other tools could make it usefull... my question is, does it repaint ? did you try it on intraday data like 4 hours 1 hour charts ? its interesting to see it, would be nice to test it... cheers Walter.
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!
Reply With Quote
  #7 (permalink)  
Old 08-29-2007, 02:03 AM
Senior Member
 
Join Date: Jul 2007
Posts: 186
jjk2 is on a distinguished road
deleted the crappier verison.

Last edited by jjk2; 11-11-2007 at 01:59 AM. Reason: deleted the crappier verison.
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!
Reply With Quote
  #8 (permalink)  
Old 11-08-2007, 08:19 PM
Senior Member
 
Join Date: Jul 2007
Posts: 186
jjk2 is on a distinguished road
oh a few extra notes.

also note, its very hard for choppy markets, but for quite markets its okay on higher time frames.....5M charts look "livable" but defnitely 1H appears optimal.


also, another important thing i forgot to mention from the papers, the system described ignores peaks that are lower than a serires of past 3~5 peaks....so if today's peak is lower than the previous 3, we ignore it.....the logic is to avoid false signals.

im wondering if someone can help me implement this.....thanks.
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!
Reply With Quote
  #9 (permalink)  
Old 11-09-2007, 09:29 PM
Senior Member
 
Join Date: Oct 2007
Posts: 135
richest is on a distinguished road
I don't know if this indicator can make money or not, but wouldn't it better if hte histogram has 2 colors that can show whether the trend is up or down?
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!
Reply With Quote
  #10 (permalink)  
Old 11-09-2007, 10:30 PM
Senior Member
 
Join Date: Jul 2007
Posts: 186
jjk2 is on a distinguished road
well i guess u could do something like if previous histogram bar is higher than current get a signal....im not sure. i am still forward testing, its taking a while.

before it wouldn't show on 1M but now it does. so i will try and post results here.
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!
Reply With Quote
Reply

Bookmarks

Tags
mba thesis, forex thesis

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
WESS-Oscillator McDuck Suggestions for Trading Systems 12 04-02-2007 02:43 AM
Awesome oscillator trevman Metatrader 4 0 12-15-2006 03:32 PM
GC Oscillator forexts Questions 4 07-21-2006 01:03 PM
Oscillator Indicator babarmughal Indicators - Metatrader 4 5 05-07-2006 08:38 AM
Oscillator 006 Expert Advisors - Metatrader 4 2 01-28-2006 04:49 PM


All times are GMT. The time now is 12:34 AM.



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