Forex



Go Back   Forex Trading > Training > Metatrader > Metatrader 4 mql 4 - Development course > Questions
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

Reply
 
Thread Tools Display Modes
  #1521 (permalink)  
Old 07-12-2009, 11:33 AM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,270
mladen is on a distinguished road
...

The one on screen is basically this one : Indicator Taichi - a Simple Idea of Formalizing the Values of Ichimoku Kinko Hyo. - MQL4 Articles
We are experimenting with it now (some changes) so if it proves that the ideas checked are correct, it will be posted on TSD

Till then

regards
mladen

Quote:
Originally Posted by amitoverseas View Post
Hi there mladen,

I have seen your name all over the forum as you are kind enough to help people mostly.

I would really appreciate if you could post the indicators you have on the chart you posted. Also I am looking for the ATR osc to be displayed on the main chart. Would you please tell me how to do that or provide me that osc as well please?


thanks
ams
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
  #1522 (permalink)  
Old 07-12-2009, 11:57 AM
Junior Member
 
Join Date: Mar 2009
Posts: 4
amitoverseas is on a distinguished road
thanks

Thanks for your help mladen!
Would you be able to please tell me about anyway to display ATR osc on the main chart?


thanks
ams


Quote:
Originally Posted by mladen View Post
The one on screen is basically this one : Indicator Taichi - a Simple Idea of Formalizing the Values of Ichimoku Kinko Hyo. - MQL4 Articles
We are experimenting with it now (some changes) so if it proves that the ideas checked are correct, it will be posted on TSD

Till then

regards
mladen
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
  #1523 (permalink)  
Old 07-12-2009, 06:38 PM
Junior Member
 
Join Date: Jul 2009
Posts: 8
paytongannaway is on a distinguished road
Hey mladen, would you mind looking over my posts on the previous page and letting me know if you have any good ideas? 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
  #1524 (permalink)  
Old 07-12-2009, 06:46 PM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,270
mladen is on a distinguished road
...

If I understood correctly, you can start from here : GoldWarrior EA (Zigzag Trading System)

regards
mladen

Quote:
Originally Posted by paytongannaway View Post
Hey mladen, would you mind looking over my posts on the previous page and letting me know if you have any good ideas? 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
  #1525 (permalink)  
Old 07-14-2009, 08:57 AM
Junior Member
 
Join Date: Mar 2009
Posts: 24
a1ra is on a distinguished road
Quote:
Originally Posted by mladen View Post
If I understood correctly, you can start from here : GoldWarrior EA (Zigzag Trading System)

regards
mladen
Hai mladen, hope you can help ....
i just learn how to code n i try to add option to display seperate window arrow on your FXSniper's_ErgodicCCI_TriggerAlertFast_mtf but i doesnt work, can you take a look and tell me how its supposed to be?

HTML Code:
//+------------------------------------------------------------------+
//|                                       Louw Coetzer aka FX Sniper |
//|                      Copyright © 2004, MetaQuotes Software Corp. |
//|                                       http://www.metaquotes.net/ |
//| FX_Sniper's_Ergodic_CCI_Trigger_Alert_Mod.mq4
//+------------------------------------------------------------------+
#property  copyright "Copyright © 2004, Fx Sniper."
#property  link      "http://www.dunno.net/"

//+------------------------------------------------------------------+
//| FX_Sniper's_Ergodic_CCI_&_Trigger_Alert_Fast      by      mladen |
//+------------------------------------------------------------------+
//2008fxtsd

#property copyright "mladen"
#property link      "mladenfx@gmail.com"



#property  indicator_separate_window
#property  indicator_buffers 2
#property  indicator_color1  Lime
#property  indicator_color2  Red
#property  indicator_width1  2
#property indicator_maximum 2
#property indicator_minimum 0
//
//
//
//
//

extern int  pq            =  1;
extern int  pr            =  7;
extern int  ps            =  3;
extern int  trigger       =  3;

extern int TimeFrame = 0;

extern bool    ShowArrow      = true;
extern double  IndicatorValue = 1;
extern bool    alertsOn          = true;
extern bool    alertsSound      = true;
extern bool    alertsMessage   = true;
extern bool    alertsEmail       = false;

extern string  note_TimeFrames = "M1;5,15,30,60H1;240H4;1440D1;10080W1;43200MN|0-CurrentTF";
string IndicatorFileName;

double ErgoCCI[];
double MainCCI[];
double buffer[][8];


//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+

int init()
{
   SetIndexBuffer(0,ErgoCCI); SetIndexLabel(0,"Ergodic CCI");
   SetIndexBuffer(1,MainCCI); SetIndexLabel(1,"Trigger Line");

if (ShowArrow) 
   {
   SetIndexBuffer(0,ErgoCCI);
   SetIndexStyle  (0,DRAW_ARROW); 
   SetIndexArrow  (0,167);
   SetIndexBuffer(1,MainCCI);
   SetIndexStyle  (1,DRAW_ARROW); 
   SetIndexArrow  (1,167);
   }
   
   TimeFrame=MathMax(TimeFrame, Period());

   string shortname = "FXSniper\'s_Ergodic ("+pq+","+pr+","+ps+"; "+trigger+") ["+TimeFrame+"]";
   IndicatorShortName (shortname);
   IndicatorFileName = WindowExpertName();


   return(0);
}

//
//
//
//
//

#define mtm    0
#define absmtm 1
#define var1   2
#define var2   3
#define var2a  4
#define var2b  5
#define var2c  6
#define var2d  7

//
//
//
//
//

int start()
{
   int i,r,limit,counted_bars=IndicatorCounted();

   if(counted_bars<0) return(-1);
   if(counted_bars>0) counted_bars--;
           limit=Bars-counted_bars;
           
   if (TimeFrame != Period())
      {
         limit = MathMax(limit,TimeFrame/Period());
           
          for(i=limit; i>=0; i--)
          {
            int y = iBarShift(NULL,TimeFrame,Time[i]);
                  ErgoCCI[i] = iCustom(NULL,TimeFrame,IndicatorFileName,pq,pr,ps,trigger,0,alertsOn,alertsSound,alertsMessage, alertsEmail,0,y);
                  MainCCI[i] = iCustom(NULL,TimeFrame,IndicatorFileName,pq,pr,ps,trigger,0,alertsOn,alertsSound,alertsMessage, alertsEmail,1,y);

          }
if (ShowArrow)
   for(int shift =limit; shift>=0; shift--)
   {
       MainCCI[shift] = IndicatorValue; 
       ErgoCCI[shift] = IndicatorValue; 
      
       if (ErgoCCI[shift] > MainCCI[shift])
       {
       MainCCI[shift] = EMPTY_VALUE;
       ErgoCCI[shift] = IndicatorValue;
       }
       else if (ErgoCCI[shift] < MainCCI[shift])
       {
       MainCCI[shift] = IndicatorValue;
       ErgoCCI[shift] = EMPTY_VALUE;
       }
         return(0);         
      }


    if (ArrayRange(buffer,0) != Bars) ArrayResize(buffer,Bars);
 

   //
   //
   //
   //
   //
   

   double alphaPq = 2.0/(1.0+pq);
   double alphaPr = 2.0/(1.0+pr);
   double alphaPs = 2.0/(1.0+ps);
   double alphaTrigger = 2.0/(1.0+trigger);
   
   for(i=limit,r=Bars-limit-1; i >=0; i--,r++) 
   {
      buffer[r][mtm]    = Close[i]-Close[i+1];
      buffer[r][absmtm] = MathAbs(buffer[r][mtm]);
      buffer[r][var1]   = buffer[r-1][var1]  + alphaPq*(buffer[r][mtm]   -buffer[r-1][var1]);
      buffer[r][var2]   = buffer[r-1][var2]  + alphaPr*(buffer[r][var1]  -buffer[r-1][var2]);
      buffer[r][var2a]  = buffer[r-1][var2a] + alphaPq*(buffer[r][absmtm]-buffer[r-1][var2a]);
      buffer[r][var2b]  = buffer[r-1][var2b] + alphaPr*(buffer[r][var2a] -buffer[r-1][var2b]);
      buffer[r][var2c]  = buffer[r-1][var2c] + alphaPs*(buffer[r][var2]  -buffer[r-1][var2c]);
      buffer[r][var2d]  = buffer[r-1][var2d] + alphaPs*(buffer[r][var2b] -buffer[r-1][var2d]);
      if (buffer[r][var2d]!=0)
            ErgoCCI[i] = (500*buffer[r][var2c]/buffer[r][var2d]);
      else  ErgoCCI[i] = 0;
            MainCCI[i] = MainCCI[i+1] + alphaTrigger*(ErgoCCI[i]-MainCCI[i+1]);
      }
   
   }
   if (alertsOn)
      {
       if(MainCCI[1] <= ErgoCCI[1] && MainCCI[0] > ErgoCCI[0]) doAlert("short");
       if(MainCCI[1] >= ErgoCCI[1] && MainCCI[0] < ErgoCCI[0]) doAlert("long");
      }
   return(0);
}


//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
//
//
//
//
//

void doAlert(string doWhat)
{
   static string   previousAlert="nothing";
   static datetime previousTime;
   string message;
   
      if (previousAlert != doWhat || previousTime != Time[0]) {
          previousAlert  = doWhat;
          previousTime   = Time[0];

          //
          //
          //
          //
          //

          message =  StringConcatenate(Symbol()," M",Period()," at ",TimeToStr(TimeLocal(),TIME_SECONDS)," ergodic ",doWhat);
             if (alertsSound)   PlaySound("ok.wav");//alert2
             if (alertsMessage) Alert(message);
             if (alertsEmail)   SendMail(StringConcatenate(Symbol()," ergodic crossing"),message);
      }
}
Thanks in advance.
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
  #1526 (permalink)  
Old 07-15-2009, 09:19 PM
Member
 
Join Date: Jul 2008
Posts: 89
mtuppers is on a distinguished road
would it possible to combine super signal and stochastic crossover?

as super signal code
for (i=limit;i>=0;i--)
as stochastic crossover
for(i = 1; i <= limit; i++)

should I using call fuction?
super signal v3d.mq4
Attached Files
File Type: mq4 Stochastic_Cross_Alert.mq4 (4.6 KB, 6 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!
Reply With Quote
  #1527 (permalink)  
Old 07-19-2009, 02:48 PM
Junior Member
 
Join Date: Aug 2006
Posts: 1
mrqusa is on a distinguished road
Smile Nwwd Help

i have some indicator wich i copy and past in metatraderforex/expert/indicator
and close and re open plateform and then clik on custome indicator and clik on indicator no act no come up and all custome indicator look like red cross on it
pleas help me how i can active that all indicator
mrqusa@yahoo.com
thansk
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
  #1528 (permalink)  
Old 07-19-2009, 10:37 PM
Junior Member
 
Join Date: May 2008
Posts: 1
gelt is on a distinguished road
Help please

I have a EA I downloaded which I am in the midst of testing, the problem I am having is that it will place a sell while the buy is still open and the opposite, I have the MQ4 file and was wondering how to edit the script to have a parameter of "max trades" which can be set to "1" which will only allow one open trade at a time.

I am a total newbie an terms of programing, so could someone please help me as to the easiest way to go about this.

Thank you very very much.
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
  #1529 (permalink)  
Old 07-20-2009, 05:24 AM
Junior Member
 
Join Date: Mar 2008
Posts: 4
indiatimes is on a distinguished road
Trade open & Close Alert

Is it possible to get a sound, text and email alert at the time when a trade gets executed and at the time when it is closed. I use a commercial EA so I just have an ex4 file. But I would like to be there at my computer when the trade is on. Please help.
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
  #1530 (permalink)  
Old 07-20-2009, 06:15 AM
Senior Member
 
Join Date: Nov 2006
Posts: 308
luxinterior is on a distinguished road
Quote:
Originally Posted by indiatimes View Post
Is it possible to get a sound, text and email alert at the time when a trade gets executed and at the time when it is closed. I use a commercial EA so I just have an ex4 file. But I would like to be there at my computer when the trade is on. Please help.
Since you can't edit the file you'd have to have another EA on a seperate pair (doesn't matter which one but preferably a fast moving one) to monitor when trades are opened with the magic number of your commercial EA and send the alerts accordingly. You can either read the help file or checkout some other EA's that you may have on your computer for examples etc.

Good luck

Lux
__________________
Build An Expert Advisor. FREE E-course As Seen On TV
ForexArea.com
Users of Gap Trader from 'Forex-Assistant' MUST Read This
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
forex, histogram, JMASlope, ToR 1.20, ZUP_v1.mq4


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


All times are GMT. The time now is 10:17 AM.



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