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.
Hi
I am trying to make a pivot indicator - that should show the pivot possition on an hourly or half hourly chart. I want to see the pivot position of the pivot for the last 1000 bars on the chart.
I have written the following - but it is not working. I see it calculates but draws nothing.
thanks elihayun I will give it a go - though I don't think that is the problem.
i do use high[shift], I go into a loop when a new day is detected and it determines the high,low for the previous day here is the loop -
Code:
// a new day has started so recalc pivot point
Previous_day=TimeDay(Time[shift+1]);
h1=0; l1=10000000;
int i;
for (i=shift+l1;i>=shift;i--)
{
h1 = MathMax( h1, High[i]);
l1 = MathMin( l1 , Low[i]);
}
c1 = Close[i+1];
p = (h1+l1+c1) / 3;
piv1[shift] =p;
shift--;//
thanks elihayun I will give it a go - though I don't think that is the problem.
i do use high[shift], I go into a loop when a new day is detected and it determines the high,low for the previous day here is the loop -
Code:
// a new day has started so recalc pivot point
Previous_day=TimeDay(Time[shift+1]);
h1=0; l1=10000000;
int i;
for (i=shift+l1;i>=shift;i--)
{
h1 = MathMax( h1, High[i]);
l1 = MathMin( l1 , Low[i]);
}
c1 = Close[i+1];
p = (h1+l1+c1) / 3;
piv1[shift] =p;
shift--;//
1) How do u know that the TF will be D1? If you change the TF you will see pivot of the current TF
2) How do u know that there are 10000000 bars ? U better use Bars instead.
Does anyone have any ebooks or absolute begginers to advanced course for learning how to use pivot points, preferrably for forex and any regular unmodified mt4 pivot point indicator that's good ?
Depending on the trading platform you have selected...go to the day of your choice, look for the daily HIGH, LOW, OPENING Candle and CLOSING Candle.
Place your mouse over them respectfully and write down the info you need. Place it in a PP calculator and then draw your lines as needed, or simply keep the sheet near your screen for reference.
Depending on the trading platform you may want to use: there are indicators that can be placed right on your chart to calculate PP and re-draw them everyday.