Forex
Google

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-09-2006, 06:25 PM
fx010 fx010 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 5
fx010 is on a distinguished road
please help me to correct this indicator

hi
i want to shift lines ,but i cant do this
maybe help me please

i think that my problem is here

int init()
{
SetIndexBuffer(0, ExtMapBuffer1);
SetIndexStyle(0, DRAW_LINE);
SetIndexBuffer(1, ExtMapBuffer2);
SetIndexStyle(1, DRAW_LINE);
SetIndexBuffer(2, ExtMapBuffer3);
SetIndexStyle(2, DRAW_LINE);
int TimeFrame=Period();
int TF;
switch(TimeFrame)
{
case 1:
TF=1440;
case 5:
TF=288;
case 15:
TF=96;
case 30:
TF=48;
case 60:
TF=24;
case 240:
TF=15;
case 1440:
TF=1;
}

SetIndexShift(0, TF);
SetIndexShift(1, TF);
SetIndexShift(2, TF);
return(0);
}
Attached Files
File Type: mq4 H-M-L.mq4 (3.3 KB, 7 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
MT4 Platform with correct time? mrsirplus Metatrader 4 0 04-23-2007 03:13 AM


All times are GMT. The time now is 09:29 AM.