| New signals service! | |
|
|||||||
| 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 |
|
![]() |
|
|
LinkBack (6) | Thread Tools | Display Modes |
|
|||
|
Quote:
Please find this set of indicators once again (it should work now). Besides, the JJMASeries.mqh file (attached as well) should be in MetaTrader\experts\include\ otherwise it will not work (it was written in russian language in the comments. And find an other indicator which you may attach to the any indicator's window just to see how the price is moving (white line - KGSP indicator). If it is necessary to translate something in english let me know. 3c_JDemark_H indicator from this set is very interesting but nobody can use it without comments' translation. Last edited by newdigital; 11-02-2005 at 07:33 PM. |
|
|||
|
Quote:
Put JJMASeries.mqh to 'include' folder MetaTrader\experts\include\ In MetaTrader's folder in your computer find folder namely 'include' and download this file to this folder. Then (after that!) download all the indicators in indicator's folder, open MetaEditor, find those indicator using navigation MetaEditor's panel, press F7 or F5 etc. It works. I have build 184. |
|
|||
|
I want to say about JJMASeries.mqh file.
This file was created by Nikolay Kositsin to help the mql4 program developers to get JMA smoothing for the almost all indicators. Please find this file translated to the English and note that it should be in your MetaTrader\experts\include\ folder. The description of this function is the following: JJMASeries function is created for the implementation of JMA algorithm during the programming all indicators for the changing the calculation of the classic averaging to this JMA algorithm. This version of file is not supporting EAs. Input parameters: nJMAnumber - access number to the function JJMASeries. (0, 1, 2, 3 etc). nJMAdinJ - parameter, allowing to change the parameters nJMALength and nJMAPhase on every bar. 0 - changing prohibited, any other value - permission. nJMAMaxBar - maximum value, it may be the number of the calculating bar. Usually Bars-1. nJMAlimit - number of not counted bars yet plus 1 or number of last uncounted bar, usually: Bars-IndicatorCounted()-1. nJMALength - intensity of smoothing. nJMAPhase - parameter changing the value between -100 ... +100, affecting on the quality of the transition process. dJMAseries - input parameter for the calculation of the JJMASeries function. nJMAbar - number of the calculating bar; this parameter should be changed by loop operator from the max value to zero. nJMAreset - parameter, the inner variables of the JJMASeries function will be initialized if the value is -1. Output parameters: JJMASeries() - value of dJMAJMA function. nJMAreset - parameter returning the non-zero value in case of error in function calculation. This parameter should be variable only, not the value! Function call mechanism: When the number of the bars is 0 it is necessary to initialize the inner variables of JJMASeries function before calling the JJMASeries function. Do it using the following parameters: reset=-1; dJMAJMASeries(0,MaxJMAnumber+1,0,0,0,0,0,0,reset); It is necessary the make the nJMAnumber(MaxJMAnumber) parameter equal to the number of calls to the JJMASeries function, that is increase of nJMAnumber maximum by 1. And nJMAreset should be assigned by the reset variable to -1 (do not insert the -1 in the function, it should be done by parameter only!). Other parameters must be assigned to 0. During the programming custom indicators and EA with JJMASeries function it is not recommended for variable to name indicators and EAs starting from JMA... or dJMA... Example of function call: Code:
int start()
{
int reset,counted_bars=IndicatorCounted();
//----+ check for possible errors
if (counted_bars<0) return (-1);
int limit=Bars-counted_bars-1;
//----+ initialization if inner variables of JJMASeries function (one calling, nJMAPhase and nJMALength parameters are not changed )
if (limit==Bars-1){reset=-1;int set=JdJMAJMASeries(0,1,0,0,0,0,0,0,reset);if((reset==1)||(set!=0))return(-1);reset=1;}
//----+ JJMASeries function call for the Ind_Buffer[] buffer calculation
for(int x=limit;x>=0;x--)
(
reset=1;
Series=Close[x];
Ind_Buffer[x]=JJMASeries(0,0,Bars-1,limit,Phase,Length,Series,x,reset);
if (reset!=0)return(-1);
}
return(0);
}
#include <JJMASeries.mqh>
|
|
|||
|
hi newdigital... Alex...
I put the JJMASeries.mqh in the respective folder " MetaTrader\experts\include\", but some indicators dont work (3c_JDemark_H.mq4; 3c_JMACD.mq4; J2JMA.mq4; JADX.mq4; JFatl.mq4).. Do you know why? Tks |
![]() |
| Bookmarks |
| Tags |
| Jurik Moving Average, jurik |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/digital-filters/198-jurik.html
|
||||
| Posted By | For | Type | Date | |
| Jurik Moving Average - JMA - Nogold.com | This thread | Refback | 07-20-2008 04:36 PM | |
| Code for JMA | This thread | Refback | 10-21-2007 09:49 AM | |
| Code for JMA - Page 10 | This thread | Refback | 09-08-2007 07:39 AM | |
| Untitled document | This thread | Refback | 08-15-2007 09:12 PM | |
| Jurik Indicators and Metaquotes - MQL4 forum | This thread | Refback | 07-03-2007 06:52 PM | |
| Jurik Moving Average - JMA - Nogold.com | This thread | Refback | 06-23-2007 01:44 AM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Jurik Indicators and MT4 | shapper | Metatrader 4 | 5 | 06-30-2006 09:30 AM |
| Jurik Woodie CCI? | fred | Digital Filters | 3 | 05-03-2006 03:28 PM |
| Jurik | newdigital | Indicators - Metatrader 3 | 1 | 10-28-2005 02:57 AM |