Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

To solve a riddle about brushes

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

    #16
    I figured it out, it did read,

    'order = 0' and 'order = 0'

    and I was just putting

    order = 1 on one of them leaving = 0 for the other.

    I changed it to,

    order = 1 and order = 2 and that did it.

    Click image for larger version

Name:	2024-11-08 09_53_32-Strategies.png
Views:	72
Size:	8.3 KB
ID:	1324022 Click image for larger version

Name:	2024-11-08 09_54_41-2024_11_08_09_53_56_NinjaScript_Editor_Strategy_SupportResistanceUnlocked.png - .png
Views:	65
Size:	27.0 KB
ID:	1324023

    Comment


      #17
      In the builder I could go only so far with DashStyle = @"Solid"; this is all I could get. For the unlocked script, in the Draw call towards the end, what would be the information I could put there? In place of DashStyleHelper.Solid.

      And also for the properties? The screenshot property here isn't the one but just showing I need the one for the DashStyle =
      I couldnt do it in the builder so I could copy it. Thank you, thank you.





      Comment


        #18
        In builder I added in the variable DashStyle and made it to String under the Tag, then copied it in the unlocked version, here's what I have.

        Comment


          #19
          I did get my properties from the builder, viewed it, copied paste, but not applying the DashStyle correctly.
          I need to set it to a instance of an object. Probably shouldn't be setting it to a tag.

          Click image for larger version

Name:	2024-11-08 21_17_46-NinjaScript Editor - Strategy - SupportResistanceUnlocked.png
Views:	72
Size:	5.7 KB
ID:	1324081


          Click image for larger version  Name:	2024-11-08 21_04_11-Strategies.png Views:	0 Size:	12.5 KB ID:	1324078

          Click image for larger version  Name:	2024-11-08 21_04_37-Error.png Views:	0 Size:	4.4 KB ID:	1324079
          Attached Files
          Last edited by trdninstyle; 11-08-2024, 08:20 PM.

          Comment


            #20
            I Looked at BzvVerticalLineAtTime and was able to match it. Trying to get OnlyPlotToday but not yet, all the way at least.
            Looking at my screenshots here, I need to change vertical line to horizontal in the Description.



            Click image for larger version  Name:	2024-11-10 11_58_37-NinjaScript Editor - Strategy - SupportResistanceUnlocked.png Views:	0 Size:	40.3 KB ID:	1324136 Click image for larger version  Name:	2024-11-10 11_59_37-NinjaScript Editor - Strategy - SupportResistanceUnlocked.png Views:	0 Size:	3.2 KB ID:	1324137 Click image for larger version  Name:	2024-11-10 12_00_18-NinjaScript Editor - Strategy - SupportResistanceUnlocked.png Views:	0 Size:	2.7 KB ID:	1324138


            Click image for larger version  Name:	2024-11-10 12_06_15-Strategies.png Views:	0 Size:	16.5 KB ID:	1324139 Click image for larger version  Name:	2024-11-10 12_09_12-NinjaScript Editor - Strategy - SupportResistanceUnlocked.png Views:	0 Size:	8.7 KB ID:	1324140
            Last edited by trdninstyle; 11-10-2024, 11:20 AM.

            Comment


              #21
              IT WORKS !! LOL

              Last night I made screenshots of all I was doing with OnlyPlotToday reviewing the first one then I seen my mistake & fixed it. Forgot the, if (State == State.Historical) and now it works perfectly.

              Thank you Gaby and ChelseaB, the Math.Max wasn't working for the downside correctly, I didnt realize all I needed to do was put, Math.Min. Makes sense after I saw it in another script.
              Think I got this thing all the way now.

              Chelsea made a video so many years ago converting Strategy over to an Indicator, need to find that.





              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              581 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              338 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              554 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              552 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X