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
02-22-2006, 09:08 PM
Member
Join Date: Jan 2006
Posts: 93
small bug in MTF_DeMarker
code I posted works but DeMarker is displayed as a period of 13 only. Here is the fixed copy that actually uses the DeMarkerPeriod variable.
can't seem to upload a file anymore though... it just says page not found.. therefore here are the instructions to change it:
just open in notepad and paste this text below and save it as "MTF_DeMarker_v1.mq4"
Code:
//---------------------------------------------------------------
//PARAMS:
//- TimeFramePeriod: # of minutes in TF.
// NOTE: I did not test non-standard TFs or a TimeFramePeriod
// value less than that of current chart. So they probably
// won't work.
// - DeMarkerPeriod: self explanatory
//---------------------------------------------------------------
#property copyright "Copyright © 2006 ycomp"
#property link "ycomp"
#define MIN_BARS_REQUIRED 200 // Just a safe amount here. Probably needs much less.
//--- Indicator Settings
#property indicator_separate_window
#property indicator_level1 0.3
#property indicator_level2 0.7
#property indicator_buffers 1
#property indicator_color1 DodgerBlue
#property indicator_width1 2
#property indicator_maximum 1
#property indicator_minimum 0
//---- input parameters
extern int TimeFramePeriod;
extern int DeMarkerPeriod = 14;
//---- buffers
double buff[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
if (Bars < MIN_BARS_REQUIRED) return (-1);
IndicatorDigits(Digits);
SetIndexStyle(0, DRAW_LINE, STYLE_SOLID, 2);
SetIndexBuffer(0, buff);
string paramDesc =
"(" +
getPeriodDesc(TimeFramePeriod) + ", " +
DeMarkerPeriod +
")";
IndicatorShortName("MTF_DeMarker" + paramDesc);
// Set Index Labels
SetIndexLabel(0, "MTF_DeM" + paramDesc);
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
string getPeriodDesc(int aNumMinutes) {
switch (aNumMinutes) {
case PERIOD_M1 : return("M1");
case PERIOD_M15: return("M15");
case PERIOD_M30: return("M30");
case PERIOD_H1 : return("H1");
case PERIOD_H4 : return("H4");
case PERIOD_D1 : return("D1");
case PERIOD_W1 : return("W1");
case PERIOD_MN1: return("MN1");
case 0: return ("Chart");
default: return ("M" + aNumMinutes);
}
}
double getDeMarker(int aShift) {
return (iDeMarker(NULL, TimeFramePeriod, DeMarkerPeriod, iBarShift(NULL, TimeFramePeriod, Time[aShift])));
}
int start() {
for(int shift=Bars-1;shift>=0;shift--)
{
buff[shift] = getDeMarker(shift);
}
return(0);
}
02-22-2006, 09:38 PM
Senior Member
Join Date: Oct 2005
Posts: 994
Mtf_2
keris,
Thank you very much for your great idea and indicator. Good work man!
This is my version of the MTF:
You can use iCustom now without writing a line of code, all what you need to fill the paramter you want in the indicator input window.
You can set up to 4 indicator names in the input window to be drawn.
You can set the line (buffer) of the indicator you want to get using iCustom (EX: 0 means to daw the first line , 1 means the second line etc).
You can set drawing shape style (EX: 0 means DRAW_LINE , 2 means DRAW_HISTOGRAM etc).
I hope you like it.
02-22-2006, 10:05 PM
Senior Member
Join Date: Dec 2005
Location: California, US
Posts: 130
Quote:
Originally Posted by codersguru
keris,
Thank you very much for your great idea and indicator. Good work man!
This is my version of the MTF:
You can use iCustom now without writing a line of code, all what you need to fill the paramter you want in the indicator input window.
You can set up to 4 indicator names in the input window to be drawn.
You can set the line (buffer) of the indicator you want to get using iCustom (EX: 0 means to daw the first line , 1 means the second line etc).
You can set drawing shape style (EX: 0 means DRAW_LINE , 2 means DRAW_HISTOGRAM etc).
Glad you liked the idea.
What you put together sounds really great,too. But, where's the file?
Are you talking about the Easy iCustom thread that you started? I downloaded that yesterday, but haven't had a chance to play with it. Awaiting your instructions. Also, is that Easy iCustom indicator MTF capable, or where you talking about something different in your above post?
Keris
Last edited by keris2112; 02-22-2006 at 10:07 PM .
02-22-2006, 10:35 PM
Member
Join Date: Jan 2006
Posts: 93
maybe he has trouble uploading? I couldn't upload anything an hour ago nor even remove my old attachment from a previous msg. 404 style error.
02-22-2006, 10:42 PM
Senior Member
Join Date: Dec 2005
Location: California, US
Posts: 130
Quote:
Originally Posted by ycomp
maybe he has trouble uploading? I couldn't upload anything an hour ago nor even remove my old attachment from a previous msg. 404 style error.
I had that trouble yesterday. Worked for me earlier today, though.
02-22-2006, 10:43 PM
Senior Member
Join Date: Oct 2005
Posts: 994
uploading trouble
Quote:
Originally Posted by ycomp
maybe he has trouble uploading? I couldn't upload anything an hour ago nor even remove my old attachment from a previous msg. 404 style error.
Yes, there are uploading troubles and the size of code isn't accepted to be submitted here!
The administrator is working hard to fix this problem!
____________________________
Fixed now
!
This is the indicator.
Last edited by codersguru; 02-23-2006 at 12:32 AM .
02-23-2006, 02:44 AM
Senior Member
Join Date: Oct 2005
Posts: 454
Just wanted to thank you keris for the multi timeframe indicators - FANTASTIC
i live and breathe them now
im trading from the 5 min chart (naughty) with 15m indicators
psar
macd
cci
see attached
really confortable trading and gives a good feel for the trades
02-23-2006, 04:18 AM
Senior Member
Join Date: Dec 2005
Location: California, US
Posts: 130
Quote:
Originally Posted by Perky
Just wanted to thank you keris for the multi timeframe indicators - FANTASTIC
i live and breathe them now
im trading from the 5 min chart (naughty) with 15m indicators
psar
macd
cci
see attached
really confortable trading and gives a good feel for the trades
Thanks Perky,
Glad you like them.
Are you the same Perky of FXOverEasy? If so, are you still following that? Your charts show a totally different setup.
Keris
02-23-2006, 05:24 AM
Senior Member
Join Date: Oct 2005
Posts: 454
Quote:
Originally Posted by keris2112
Thanks Perky,
Glad you like them.
Are you the same Perky of FXOverEasy? If so, are you still following that? Your charts show a totally different setup.
Keris
Thats the other perky (fxovereasy) Im older and wiser now :-)
I used fxovereasy to make my first million
thought id try something different to get my second
02-23-2006, 05:24 AM
Senior Member
Join Date: Oct 2005
Posts: 454
Quote:
Originally Posted by keris2112
Thanks Perky,
Glad you like them.
Are you the same Perky of FXOverEasy? If so, are you still following that? Your charts show a totally different setup.
Keris
Thats the other perky (fxovereasy) Im older and wiser now :-)
I used fxovereasy to make my first million
thought id try something different to get my second
Tags
#MTF_WPR.mq4 , ABSOLUTE STRENGTH , absolute strength indicator , AbsoluteStrength , AbsoluteStrength_v1.1_mtf , ADX MTF , AlaskanPipAssassin , atr channel , BBMACD , bbsqueeze , bh-ergodic , center of gravity , Coeffoline , custom candle , customcandle , Damiani_volatmeter v3.2 , Envelopes , FanSimple4en , fncd indicator , forex , forextrend_v2 , fxst3cci , FxTrend v2 , fxtsd , histogram , indicators , megatrend , MegaTrend.mq4 , mladen , mtf absolute strength , mtf adx , mtf adx indicator , mtf bband , MTF candle , mtf ema , MTF indicator , mtf LaGuerre , mtf ma , mtf macd , mtf megatrend , mtf parabolic , MTF PSAR , mtf qqe , MTF RSI , mtf rsx , mtf stochastic , MTF trendenvelopes , mtf_4tf_has_bar2m , mtf_megatrend_barm_4tfnext , multi , multi time frame , MULTI TIME FRAME indicator , multi time frame stochastic , multi timeframe , multi timeframe indicator , nonlagma v7 , NonLagMA_v7.1 , NRTR_Rosh_v2eAlert_mtf.ex4 , open interest , pipnailer , PowerTrend , powertrend.mq4 , qqe mtf , search , TheBuyZoneForex.pdf , timeframe , TrendEnvelopes_v5 , trendline , TRO MultiPair , tro sak multipair , voltychoppy , XO_A_H
Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
geisha
Thread Tools
Display Modes
Linear Mode
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT. The time now is 12:18 AM .