You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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);
}