pivots trading hourly INDICATOR

Questions about MultiCharts and user contributed studies.
chipeur
Posts: 18
Joined: 20 Aug 2010
Has thanked: 4 times

pivots trading hourly INDICATOR

Postby chipeur » 17 Feb 2012

Hi

i try to find an indicator to have every hour pivots point from last hour of trading

if everyone have the code

thx to share it

best regards

michael

User avatar
arnie
Posts: 1586
Joined: 11 Feb 2009
Location: Portugal
Has thanked: 476 times
Been thanked: 509 times

Re: pivots trading hourly INDICATOR

Postby arnie » 17 Feb 2012

Search here. They have a lot pivot indicators.

http://www.tradersxchange.com/index.php
These users thanked the author arnie for the post (total 3):
chipeurJoshMTJ

chipeur
Posts: 18
Joined: 20 Aug 2010
Has thanked: 4 times

Re: pivots trading hourly INDICATOR

Postby chipeur » 17 Feb 2012

thx for the link

impossible to register...i m always waiting the link to register :(

chipeur
Posts: 18
Joined: 20 Aug 2010
Has thanked: 4 times

Re: pivots trading hourly INDICATOR

Postby chipeur » 17 Feb 2012

if anyone can open this link..

http://www.tradersxchange.com/viewtopic.php?f=38&t=748

i can t register :(

User avatar
arnie
Posts: 1586
Joined: 11 Feb 2009
Location: Portugal
Has thanked: 476 times
Been thanked: 509 times

Re: pivots trading hourly INDICATOR

Postby arnie » 17 Feb 2012

chipeur wrote:if anyone can open this link..

http://www.tradersxchange.com/viewtopic.php?f=38&t=748

i can t register :(



check your private messages
These users thanked the author arnie for the post:
chipeur

chipeur
Posts: 18
Joined: 20 Aug 2010
Has thanked: 4 times

Re: pivots trading hourly INDICATOR

Postby chipeur » 17 Feb 2012

thx arnie

no running in hourly chart

chipeur
Posts: 18
Joined: 20 Aug 2010
Has thanked: 4 times

Re: pivots trading hourly INDICATOR

Postby chipeur » 26 Feb 2012

help needed please

User avatar
arnie
Posts: 1586
Joined: 11 Feb 2009
Location: Portugal
Has thanked: 476 times
Been thanked: 509 times

Re: pivots trading hourly INDICATOR

Postby arnie » 26 Feb 2012

chipeur wrote:help needed please


Hi chipeur.

Contact ABCTrading.
Chris is the best in coding EL and his prices are well afordable.

Regards.

User avatar
TJ
Posts: 6572
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 968 times
Been thanked: 1902 times

Re: pivots trading hourly INDICATOR

Postby TJ » 26 Feb 2012

chipeur wrote:if anyone can open this link..

http://www.tradersxchange.com/viewtopic.php?f=38&t=748

i can t register :(

a lot of times the registration mail is lost in the junk mail.
you can just log in and see if it works.

User avatar
TJ
Posts: 6572
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 968 times
Been thanked: 1902 times

Re: pivots trading hourly INDICATOR

Postby TJ » 26 Feb 2012

arnie wrote:
chipeur wrote:help needed please


Hi chipeur.

Contact ABCTrading.
Chris is the best in coding EL and his prices are well afordable.

Regards.

how much does he charge?

User avatar
TJ
Posts: 6572
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 968 times
Been thanked: 1902 times

Re: pivots trading hourly INDICATOR

Postby TJ » 26 Feb 2012

chipeur wrote:help needed please

you have not given enough detail for people to help you.

eg.
what is the chart resolution ? hourly chart?
how would you like it displayed? line? number?
do you want someone to code it for you? or someone to help you resolve a coding problem?
These users thanked the author TJ for the post:
JoshM

User avatar
ABC
Posts: 520
Joined: 16 Dec 2006
Has thanked: 111 times
Been thanked: 295 times
Contact:

Re: pivots trading hourly INDICATOR

Postby ABC » 26 Feb 2012

A search in the Multicharts Knowledgebase brought up something that would probably do what you have in mind on an hourly chart. Pivot Study
Besides that I am almost sure that you can find a study that does what you have in mind via google, too.

Regards,
ABC
These users thanked the author ABC for the post:
TJ

User avatar
arnie
Posts: 1586
Joined: 11 Feb 2009
Location: Portugal
Has thanked: 476 times
Been thanked: 509 times

Re: pivots trading hourly INDICATOR

Postby arnie » 26 Feb 2012

TJ wrote:
arnie wrote:...and his prices are well afordable.

how much does he charge?


Well, maybe that didn't come out as I wanted too...

What is affordable to me might not be to others...

Many in this forum already commented on the fine programming Chris does.
These users thanked the author arnie for the post:
TJ

chipeur
Posts: 18
Joined: 20 Aug 2010
Has thanked: 4 times

Re: pivots trading hourly INDICATOR

Postby chipeur » 28 Feb 2012

thx all

i try to find hourly pivots on hourly chart

every hour news pivots with the last hour with OHLC :)

best regards

michael

User avatar
arnie
Posts: 1586
Joined: 11 Feb 2009
Location: Portugal
Has thanked: 476 times
Been thanked: 509 times

Re: pivots trading hourly INDICATOR

Postby arnie » 28 Feb 2012

chipeur wrote:every hour news pivots with the last hour with OHLC :)


I know what you want chipeur.

You want this:

Image

Chris programmed it for me a couple of years ago.
It plots the previous 60min OHLC (there you can only see the high and low) into the next hour. This way you can use the previous extremes as resistance/support. Later I added Mark Fisher's Pivots (the gray lines).
Attachments
60min_prev.png
60min_prev.png (28.33 KiB) Viewed 881 times

User avatar
TJ
Posts: 6572
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 968 times
Been thanked: 1902 times

Re: pivots trading hourly INDICATOR

Postby TJ » 28 Feb 2012

arnie wrote:
chipeur wrote:every hour news pivots with the last hour with OHLC :)


I know what you want chipeur.

You want this:



Chris programmed it for me a couple of years ago.
It plots the previous 60min OHLC (there you can only see the high and low) into the next hour. This way you can use the previous extremes as resistance/support. Later I added Mark Fisher's Pivots (the gray lines).

...but he wants hourly pivot on an hourly chart, and he has not specified how he want the pivot presented. Maybe a dot?

User avatar
ABC
Posts: 520
Joined: 16 Dec 2006
Has thanked: 111 times
Been thanked: 295 times
Contact:

Re: pivots trading hourly INDICATOR

Postby ABC » 28 Feb 2012

A slight modification of the link I gave you should do it then:

Code: Select all

Variables:
PIVOTPOINT(0);

PIVOTPOINT = (HIGH[1] + LOW[1] + CLOSE[1] + OPEN[1]) / 4;

Plot1(PIVOTPOINT, "PIVOTPOINT");


Format the plot as line, dot, cross - whatever you prefer. The only thing you might need to add is any support and resistance calculations, but for that one would need to know the formula you prefer.

This would look something like this, depending on the formula for the first support of course:

Code: Select all

Variables:
PIVOTPOINT(0),
Support1(0);

PIVOTPOINT = (HIGH[1] + LOW[1] + CLOSE[1] + OPEN[1]) / 4;
Support1 = 2 * PIVOTPOINT - HIGH[1];

Plot1(PIVOTPOINT, "PIVOTPOINT");
Plot2(Support1, "Support1");

The same way you'd add the other support and resistance points and you have a study that should do what you have in mind. If you have problems with the coding post them in here and I am sure someone will help you out.

Regards,
ABC

chipeur
Posts: 18
Joined: 20 Aug 2010
Has thanked: 4 times

Re: pivots trading hourly INDICATOR

Postby chipeur » 28 Feb 2012

see this one in 30 mn chart

http://www.linnsoft.com/charts/RollingPivots.html

we can have a input to have 30 or 60 mn rolling pivot

it seem to me that it is a good idea to test hourly pivots...i can tranform some code but i can t play with the time on a chart...

i hope..it s also good for MC communauty...

answers are always posted on forumto help everyone ;)

thx for your help

best regards

michael from france...we have an oscar trophy now ...lol


User avatar
arnie
Posts: 1586
Joined: 11 Feb 2009
Location: Portugal
Has thanked: 476 times
Been thanked: 509 times

Re: pivots trading hourly INDICATOR

Postby arnie » 28 Feb 2012

Since I'm a IRT user I was able to confirm opening that same chart that is shown in the link.
Those are not hourly pivots. Those are normal daily pivots plotted on a 30 minute chart.

I think you are confused on what you requested.

What you show on those links are what is shown on the image I used above. Nobody here is saying it's not possible.
Last edited by arnie on 28 Feb 2012, edited 1 time in total.

chipeur
Posts: 18
Joined: 20 Aug 2010
Has thanked: 4 times

Re: pivots trading hourly INDICATOR

Postby chipeur » 28 Feb 2012

sorry arnie

bad english !!!!!!!!!!!!

but iknow what i try to write :)

SP
Posts: 444
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 280 times

Re: pivots trading hourly INDICATOR

Postby SP » 29 Feb 2012

I have not used it for a long time, for other intruments than the CME/EUREX futures and other intervals than a 5 minute chart you need to change the code.

Code: Select all

// Calculate Hourly Pivots on 5 min charts
input:  sod (sess1starttime ), eod   ( sess1endtime ), PlotUsedValuesForCalc(false);

var:
     RHigh       (0),
     RLow        (0),
     PivotHourly    (0),
     PivotR1      (0),
     PivotS1      (0),
     Pivotcolor   (0),
     Hclose      (0), //Hourly Close
     Divisor     (0),
     MinutesForHL   (0);
Once begin
   if mod ( sess1starttime , 100 ) = 30 then Divisor = 30; // Session starts a :30 , ie ES , NQ    
   if mod ( sess1starttime , 100 ) = 00 then Divisor = 00; // We have natural hours as start , ie FDAX, BUND, ESTX50
   if bartype <> 1       then raiseruntimeerror       ( " Works only on minute bars " );
   if barinterval <>5       then raiseruntimeerror       ( " barinterval needs to be 5" );
   //Test print if we have the correct sess1starttime / sess1endtime in the QM, else sod and eod needs to be adjusted manually
   //For Eurex: 800 / 2200
   //For CME:   830 / 1515
   print ( getsymbolname , Spaces(2) , sess1starttime , Spaces(2), sess1endtime ,Spaces(2), mod ( sess1starttime , 100 ), Spaces(2), Divisor, Spaces(2),barinterval); 

end;
if barstatus ( 1 ) = 2 then
begin
   if mod ( time,100 ) = Divisor or t = eod then
   begin 
      Hclose= Close;
      If Divisor = 00 then
      begin
                RHigh = Highest( High , 12 );
                RLow  = Lowest ( Low , 12 );
          end;   
          If Divisor = 30 then
      begin
             if t = eod then
             begin
             RHigh = Highest( High , 9 );
             RLow  = Lowest ( Low , 9 );
             end
             else
             begin   
             RHigh = Highest( High , 12 );
             RLow  = Lowest ( Low , 12 );
             end;
          end;   
          
          PivotHourly = (HClose+RHigh+RLow)/3;
          PivotR1=(2*PivotHourly )-RLow  ;
          PivotS1=(2*PivotHourly )-RHigh ;
          if PivotHourly >= PivotHourly[1] then Pivotcolor = green else Pivotcolor= darkbrown;
          // Plot used values for pivot calc at the end of the last calc bar
          if PlotUsedValuesForCalc then
          begin
             Plot4 (Hclose,"Hclose",   darkgray);
             Plot5 (RHigh,   "RHigh ",   magenta );
             Plot6 (RLow,   "RLow",   cyan );
          end;
     
   end;

   //Plot as Dot or Cross, forward 1 Bar
   plot1 [-1]( PivotHourly , " PivotHourly ",   Pivotcolor );
   plot2 [-1](  PivotR1,     " PivotR1 ",      red );
   plot3 [-1](  PivotS1,     " PivotS1 ",      blue );
   
   
end;

These users thanked the author SP for the post:
chipeur

chipeur
Posts: 18
Joined: 20 Aug 2010
Has thanked: 4 times

Re: pivots trading hourly INDICATOR

Postby chipeur » 01 Mar 2012

thx to SP to his answer

i try to begin to work with this code

best regards

michael

olobay
Posts: 43
Joined: 28 Dec 2011
Has thanked: 15 times

Re: pivots trading hourly INDICATOR

Postby olobay » 14 Sep 2012

arnie wrote:
chipeur wrote:every hour news pivots with the last hour with OHLC :)


I know what you want chipeur.

You want this:

Image

Chris programmed it for me a couple of years ago.
It plots the previous 60min OHLC (there you can only see the high and low) into the next hour. This way you can use the previous extremes as resistance/support. Later I added Mark Fisher's Pivots (the gray lines).


Arnie,

Can you please post the study? Thanks.

User avatar
arnie
Posts: 1586
Joined: 11 Feb 2009
Location: Portugal
Has thanked: 476 times
Been thanked: 509 times

Re: pivots trading hourly INDICATOR

Postby arnie » 14 Sep 2012

olobay wrote:
Arnie,

Can you please post the study? Thanks.


Hi olobay.

This is a custom made study (ie. I've payed for its development).
Can't post it.
These users thanked the author arnie for the post:
olobay


Return to “MultiCharts”