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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    175 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    91 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    130 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    210 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    186 views
    0 likes
    Last Post CarlTrading  
    Working...
    X