Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Floor Pivot Point Question!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Floor Pivot Point Question!!

    Can anyone assist me? I've downloaded the floor pivot indicator and would like to modify it slightly. I would like to draw another line between the midpoints and support and midpoints and resistance. I've tried to modify the code using the following:

    if(trailing)
    {
    FiftyTS14.Set((FiftyR54+r4)*
    .50);
    FiftyTS13.Set((FiftyR54+r3)*
    .50);
    FiftyTS12.Set((FiftyR43+r3)*
    .50);
    FiftyTS11.Set((FiftyR43+r2)*
    .50);
    FiftyTS10.Set((FiftyR32+r2)*
    .50);
    FiftyTS9.Set((FiftyR32+r1)*
    .50);
    FiftyTS8.Set((FiftyR21+r1)*
    .50);
    FiftyTS7.Set((FiftyR21+pp)*
    .50);
    FiftyTS6.Set((FiftyR1PP+pp)*
    .50);
    FiftyTS5.Set((FiftyR1PP+s1)*
    .50);
    FiftyTS4.Set((FiftyPPS1+s1)*
    .50);
    FiftyTS3.Set((FiftyPPS1+s2)*
    .50);
    FiftyTS2.Set((FiftyS12+s2)*
    .50);
    FiftyTS1.Set((FiftyS12+s3)*
    .50);
    FiftyTS1B.Set((FiftyS23+s3)*
    .50);
    FiftyTS1A.Set((fiftyS23+s4)*
    .50);
    }

    but I keep getting error codes indicating "+" operator not allowed in 'bool'. I've modified it, but it still does not work! Any suggestions would be greatly appreciated!!!!!!
    Last edited by dscurry; 12-01-2009, 05:30 PM. Reason: reclassified

    #2
    Please ensure you declare needed variables for holding values as doubles here and then you should be able to add / subtract as needed.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    42 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    25 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    162 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    98 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    157 views
    2 likes
    Last Post CaptainJack  
    Working...
    X