Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
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
  #1 (permalink)  
Old 01-24-2007, 05:02 AM
Junior Member
 
Join Date: Jan 2006
Posts: 5
shippy is on a distinguished road
Point and Figure Charts?

Anyone have a "Point and Figure" charts plugin?

It would require all the bells and whistles..

reversal size customization, box size customization, "high/low, or close"

etc.

Anyone know where to get something like this.. or is anyone willing to code this up?

Point and figure could be amazing for forex.
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 01-24-2007, 06:29 PM
Junior Member
 
Join Date: Jan 2006
Posts: 5
shippy is on a distinguished road
bump

bump bump bump bump bump no one has this or wants to code it for everyone?
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 01-24-2007, 07:18 PM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by shippy
bump bump bump bump bump no one has this or wants to code it for everyone?
I'm curious, how long do you suppose it would take to code an indicator that would do all you suggested - 1 hour, 2 hours, 3 hours...? My guess, it would take at least that long. And there you also have your answer - too time consuming! If you really want this coded, there are at least half a dozen coding experts on this forum who will do it for a price. In the meantime, check out the 'marketprofile' indicator.
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 01-24-2007, 11:03 PM
apfx's Avatar
Junior Member
 
Join Date: Dec 2005
Posts: 18
apfx is on a distinguished road
Kagi Chart Code

This is the code for AmiBroker but I think it can be easily translated into MQL4:
__________________________________________________ __________
reverse = Param ("reverse %" ,0.1, 0.1, 1,0.1)/100;

// initialize first element

j = 0;
KC[j] = Close[0];
direction=0;
for( i = 1; i < BarCount-1; i++ )
{
// percent reversal requirement
if(direction[j]==0)
{
if( Close[i] <= KC[j]) //continue down
{
KC[j] = Close[i];
}
else
{
if( Close[i] >= KC[j]*(1 + Reverse)) //Change direction to up
{
j++;
direction[j] = 1;

KC[j] = Close[i];
}
}
}
else
{
if( Close[i] >= KC[j]) //Continue up
{
KC[j] = Close[i];
}
else
{
if( Close[i] <= KC[j]*(1 - Reverse)) //Change direction to down
{
j++;
direction[j]=0;
KC[j] = Close[i];
}
}
}
}
delta = BarCount - j-1; //shift the chart to the wright

kagi= Ref(kc,-delta);
direction = Ref(direction,-delta);

Color =39;// IIf(kagi>Ref(kagi,-1), colorGreen, colorRed);

Plot(kagi, "", Color, styleStaircase|1024 );

Last edited by apfx; 01-24-2007 at 11:14 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
  #5 (permalink)  
Old 01-24-2007, 11:12 PM
apfx's Avatar
Junior Member
 
Join Date: Dec 2005
Posts: 18
apfx is on a distinguished road
Point&Figure Code

This is AmBroker Formula language . in MQL4 you can not plot in PF style but you can plot it as bars/line.
_____________________________________________

decimals= LastValue(IIf(StrRight(Name(),3) == "JPY", 100, 10000));
Box = Param("Box", 10, 1, 100, 1) /decimals;


Revers = Param("Reverse", 3, 1, 5);




//--------------------------------------
j = 0;
PFL[0] = Box * ceil(Low[0]/Box) + Box;
PFH[0] = Box * floor(High[0]/Box);
direction = 0;
//----------------------------------------

for( i = 1; i < BarCount; i++ )
{
if(direction[j] == 0)
{
if(Low[i] <= PFL[j] - Box)
{
PFL[j] = Box * ceil(Low[i]/Box);
}
else
{
if(High[i] >= PFL[j] + Revers*Box)
{
j++;
direction[j] = 1;
PFH[j] = Box * floor(High[i]/Box);
PFL[j] = PFL[j - 1] + Box;

}
}
}
else
{
if(High[i] >= PFH[j] + Box)
{
PFH[j] = Box * floor(High[i]/Box);
}
else
{
if( Low[i] <= PFH[j] - Revers * Box )
{
j++;
direction[j] = 0;
PFH[j] = PFH[j - 1] - Box;
PFL[j] = Box * ceil(Low[i]/Box);

}
}
}
}
delta = BarCount - j -1;
direction = Ref(direction, - delta);
Hi = Ref(PFH, -delta) + Box/2;
Lo = Ref(PFL, -delta)- Box/2;
Cl = IIf(direction == 1, Hi, Lo);
Op = IIf(direction == 1, Cl - Box, Cl + Box);



PlotOHLC(Op, Hi, Lo, Cl,"", ParamColor("ChartColor",colorLightGrey), stylePointAndFigure|styleNoLabel);
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 01-24-2007, 11:19 PM
apfx's Avatar
Junior Member
 
Join Date: Dec 2005
Posts: 18
apfx is on a distinguished road
Three Line Break

This is the code I wrote for TLB in AFL .
__________________________________________________ ___________

break = Param("Break", 3, 1, 5, 1);

tc[0]= L[0];
to[0]=H[0];
Line[0]=H[0];

j=0;
direction= 0;
down[0]=0;
up[0]=0;
for (i=1; i<BarCount; i++)
{

if (direction ==0)
{

if( C[i] <tc[j] )
{
j++;
down[j] = down[j-1]+1;
up[j]=0;
tc[j] =C[i];
to[j]=tc[j-1];
if(down[j]<break)
Line[j] =to[j-1];
else
Line[j] = to[j-break+1] ;

}
else
{

if(C[i]>Line[j])
{
j++;
down[j]=0;
up[j] =up[j-1]+1;
direction =1;
tc[j] =C[i];
to[j]=to[j-1];
if(break>1)
Line[j] = tc[j-1];
else
Line[j] =to[j];


}
}
}
else
{

if( C[i] >tc[j] )
{
j++;
down[j]=0;
up[j] =up[j-1]+1;
tc[j] =C[i];
to[j]=tc[j-1];
if(up[j]<break) Line[j] = to[j-1];
else Line[j] = to[j-break+1];


}
else
{
if(C[i]<Line[j] )
{
j++;
up[j]=0;
down[j] = down[j-1]+1;
direction =0;
tc[j] =C[i];
to[j]=to[j-1];
if(break>1) Line[j] = tc[j-1];
else Line[j] =to[j];


}
}

}


}

delta = BarCount-1 - j;
Cl= Ref(tc,-delta);
Op =Ref(tO,-delta);

PlotOHLC(Op,Cl,Op,Cl,"",colorBlack, styleCandle);
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 01-25-2007, 03:30 AM
Member
 
Join Date: Nov 2005
Posts: 56
4xCoder is on a distinguished road
This looks like PnF, but thepage is in russian.
http://codebase.mql4.com/ru/679

Here's Renko http://codebase.mql4.com/ru/681

Here's Kagi http://codebase.mql4.com/ru/680
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 04-03-2008, 03:12 PM
Member
 
Join Date: Jan 2006
Posts: 33
DooMGuarD is on a distinguished road
Quote:
Originally Posted by apfx View Post
in MQL4 you can not plot in PF style but you can plot it as bars/line.
correct, but you can simulate X and O with trend and ellipse objects
__________________
Charles Adriano
---------------------------
sorry, sorry, sorry for my English...
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 04-08-2008, 02:37 PM
boursicoton's Avatar
Junior Member
 
Join Date: Jul 2007
Location: FRANCE
Posts: 14
boursicoton is on a distinguished road
Smile points figures

isn't perfect...
Attached Files
File Type: ex4 PointsFigures.ex4 (6.0 KB, 450 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
  #10 (permalink)  
Old 02-17-2009, 02:46 PM
Junior Member
 
Join Date: Feb 2009
Posts: 1
point-figure is on a distinguished road
Quote:
Originally Posted by boursicoton View Post
isn't perfect...
and is possible to translate in easylanguage for tradestation?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
Reply

Bookmarks

Tags
Point Figure, point and figure, cache:EZJt1dL428cJ:hikaku.fxtec.info/metatrader/wiki.cgi?page=%A1%DAForex%A1%DBMetaTrader+Part+%AD %B, "kagi"+"afl"


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Point and Figure Charting for MT4 omrangassan Indicators - Metatrader 4 46 Today 05:09 PM
Point & Figure Alerts Tickwatcher Indicators - Metatrader 4 0 05-23-2007 01:10 PM
Point & Figure charts Marbo Indicators - Metatrader 4 1 02-14-2007 12:06 PM
Point and Figure charts hua Metatrader 4 2 04-03-2006 05:51 PM


All times are GMT. The time now is 09:28 PM.



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