Setting up Floor Trader Pivots  [SOLVED]

Questions about MultiCharts and user contributed studies.
timokrates

Setting up Floor Trader Pivots

Postby timokrates » 21 Dec 2011

Hi,

another question...

I have to say that I'm pretty new to MC and have a bit of trouble with the scaling in general.
Specially when it comes to price lines like the floor trader pivots.

When I insert the study, they don't seem to plot correctly (which maybe has to do with the session?) and also if I scroll back in the chart price and lines seem to move - and the lines change their location (value). Even when they don't plot the estimated markers.

I hope I was able to describe the problem.

I tried a lot of stuff, but nothing really worked.

timokrates

Re: Setting up Floor Trader Pivots  [SOLVED]

Postby timokrates » 22 Dec 2011

The floor trader pivots study does not seem to work at all.

Is there a way to get the proper levels?

I did a search on the forum, but without a real result - only that it the study seems to calculate them wrong...

Thanks

User avatar
TJ
Posts: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 times

Re: Setting up Floor Trader Pivots

Postby TJ » 22 Dec 2011

timokrates wrote:The floor trader pivots study does not seem to work at all.

Is there a way to get the proper levels?

I did a search on the forum, but without a real result - only that it the study seems to calculate them wrong...

Thanks

You have to describe what do you mean by "does not seem to work at all".

timokrates

Re: Setting up Floor Trader Pivots

Postby timokrates » 22 Dec 2011

Sorry, you are right.

The study does not seem to calculate the correct pivot.
Does it need a special reference like a daily chart?

I tried to apply it to a volume chart and the pivots were all wrong.

And again I had problems with the scaling and experienced that the lines move with the price when scrolling.

User avatar
TJ
Posts: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 times

Re: Setting up Floor Trader Pivots

Postby TJ » 22 Dec 2011

timokrates wrote:Sorry, you are right.

The study does not seem to calculate the correct pivot.
Does it need a special reference like a daily chart?

I tried to apply it to a volume chart and the pivots were all wrong.

And again I had problems with the scaling and experienced that the lines move with the price when scrolling.

Which version of MultiCharts are you using?
I didn't know the DT version has the Floor Trader Pivot indicator.

User avatar
TJ
Posts: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 times

Re: Setting up Floor Trader Pivots

Postby TJ » 22 Dec 2011

this is the code for the Floor Trader Pivot:

Code: Select all

inputs:
   Plot_5or7( 5 ) ;                                                   

variables:
    var0( 0 ),
   var1( 0 ),
   var2( 0 ),
   var3( 0 ),
   var4( 0 ),
   var5( 0 ),
   var6( 0 ),
   var7( 0 ),
   var8( 0 ),
   var9( 0 ),
   var10( 0 ),
   var11( 0 ),
   var12( 0 ),
   var13( 0 ) ;
   
if Date <> Date[1] then
   begin
                                                                                
   var13 = var13 + 1 ;
   var8 = var7 ;
   var10 = var9 ;
   var12 = Close[1] ;
   var7 = High ;
      var9 = Low ;
   var6 = ( var8 + var10 + var12 ) / 3 ;
   var3 = var6 * 2 - var10 ;
   var4 = var6 + var8 - var10 ;
   var5 = var4 + var8 - var10 ;
   var0 = var6 * 2 - var8 ;
   var1 = var6 - var8 + var10 ;
   var2 = var1 - var8 + var10 ;
   end
else
   begin
   if High > var7 then
      var7 = High ;
   if Low < var9 then
      var9 = Low ;
   end ;

condition1 = var13 >= 2 and BarType < 3 ;
if condition1 then                                           
                                                                             
   begin
   if Plot_5or7 = 7 then
      Plot1( var5, "R3" ) ;
   Plot2( var4, "R2" ) ;
   Plot3( var3, "R1" ) ;
   Plot4( var6, "PP" ) ;
   Plot5( var0, "S1" ) ;
   Plot6( var1, "S2" ) ;
   if Plot_5or7 = 7 then
       Plot7( var2, "S3" ) ;
   end ;

User avatar
TJ
Posts: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 times

Re: Setting up Floor Trader Pivots

Postby TJ » 22 Dec 2011

timokrates wrote:Sorry, you are right.

The study does not seem to calculate the correct pivot.
Does it need a special reference like a daily chart?

I tried to apply it to a volume chart and the pivots were all wrong.

And again I had problems with the scaling and experienced that the lines move with the price when scrolling.

What do you mean by "does not seem to calculate the correct pivot"?

Can you give an example of the calculation from the indicator,
and your calculation?

User avatar
TJ
Posts: 6584
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 970 times
Been thanked: 1907 times

Re: Setting up Floor Trader Pivots

Postby TJ » 22 Dec 2011

ps. make sure your indicator is scaled to same as instrument.


Return to “MultiCharts”