• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

VSA Indicator - Beta

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

    #46
    Bertrand,
    The blue box just covers the chart. I can't see what's behind it. Any suggestion as to what I need to set so I could see the words overlaying the chart without blocking it with a background?

    Originally posted by NinjaTrader_Bertrand View Post
    Paul, you got the background color as transparent, so this is the reason it shows as 'white' from your standard chart background.

    Use something like Color.Blue for the last color parameter in your posted snippet...

    Comment


      #47
      Sorry should have added to also lower the opacity setting to maybe 2-3.
      BertrandNinjaTrader Customer Service

      Comment


        #48
        Originally posted by NinjaTrader_Bertrand View Post
        Sorry should have added to also lower the opacity setting to maybe 2-3.

        That certainly fixed it. Im now in indicator heaven...

        regards

        Paul

        Comment


          #49
          Originally posted by PrTester View Post
          I try to port an existing VSA Indicator from an Amibroker code. Anyone can check the AFL File to see if the port is good?, first time working with Ami codes. Also comments from VSA Fans are welcome to see if we can have a useful indicator

          Here you can find the Original code: http://www.vpanalysis.blogspot.com/

          PD
          Thanks Roonius for the fix in the shading routine.

          Regards
          PrTester - thanks for this code : is there an explanation somewhere of the exact meaning of the various chart markers, please ? I don't see it on the posted link.

          J.

          Comment


            #50
            changes

            Hi,

            Thank you for bringing that issue up, I wasn't aware of VSA and found it very interesting...

            1) I compared the code to the AFL version and fixed some differences (in trbar, hutbar and stdn0).
            2) I Changed the variables names to be meaningful so the code will be more readable and maybe other members will feel more comfortable with it.
            The original variables names are in remark in the "VSA Definitions" area so a reference to the AFL code can be made.
            3) Removed unnecessary DataSeries to save some bits of memory.
            4) Added property to determine whether to change the price bars color according to the trend (default is false).


            And here is a Legend to the symbols as I understand (It is also in the cs file).

            Red Square - UpThrust bar.
            Blue Diamond - Reversal possible, yesterday was high volume wide spread up bar, but today we reached 10 days high with low close wide spread down bar.
            Red Triangle Down - UpThrust confirmation.
            Lime Square - Strength bar (either strength is showing in down trend or a supply test in up trend).
            Yellow Triangle Up - An Upbar closing near High after a Test confirms strength.
            Lime Diamond - Stopping volume. Normally indicates end of bearishness is nearing /OR/ No supply.
            Lime Triangle Up - The previous bar saw strength coming back, This upbar confirms strength.
            Blue Square - Psuedo UpThrust, A Sign of Weakness /OR/ A High Volume Up Bar closing down in a uptrend shows Distribution /OR/ No Demand.
            Blue Triangle Down - A Down Bar closing down after a Pseudo Upthrust confirms weakness.
            Yellow Triangle Down - High volume Downbar after an upmove on high volume indicates weakness.
            Aqua Triangle Up - High volume upbar closing on the high indicates strength (in short term down trend).
            Deep Pink Square - Test for supply.
            Turquoise Diamond - Effort to Rise. Bullish sign.
            Yellow Diamond - Effort to Fall. Bearish sign.

            Yuval.
            Attached Files

            Comment


              #51
              Thanks for sharing your rework and the legend Yuval.
              BertrandNinjaTrader Customer Service

              Comment


                #52
                Thanks for that! Great work and much appreciated.

                Originally posted by yuvalw View Post
                Hi,
                Red Square - UpThrust bar.
                Blue Diamond - Reversal possible, yesterday was high volume wide spread up bar, but today we reached 10 days high with low close wide spread down bar.
                Red Triangle Down - UpThrust confirmation.
                Lime Square - Strength bar (either strength is showing in down trend or a supply test in up trend).
                Yellow Triangle Up - An Upbar closing near High after a Test confirms strength.
                Lime Diamond - Stopping volume. Normally indicates end of bearishness is nearing /OR/ No supply.
                Lime Triangle Up - The previous bar saw strength coming back, This upbar confirms strength.
                Blue Square - Psuedo UpThrust, A Sign of Weakness /OR/ A High Volume Up Bar closing down in a uptrend shows Distribution /OR/ No Demand.
                Blue Triangle Down - A Down Bar closing down after a Pseudo Upthrust confirms weakness.
                Yellow Triangle Down - High volume Downbar after an upmove on high volume indicates weakness.
                Aqua Triangle Up - High volume upbar closing on the high indicates strength (in short term down trend).
                Deep Pink Square - Test for supply.
                Turquoise Diamond - Effort to Rise. Bullish sign.
                Yellow Diamond - Effort to Fall. Bearish sign.

                Yuval.

                Comment


                  #53
                  Yuval,

                  Thank you very much!

                  Mike

                  Comment


                    #54
                    Thanks, Yuval : how are you defining trend for the paintbars (away from primary computer right now, so no access to code) ?

                    Comment


                      #55
                      Originally posted by jtrade View Post
                      Thanks, Yuval : how are you defining trend for the paintbars (away from primary computer right now, so no access to code) ?
                      the trend is defined there according to the slope of a linear regression, there are 3 regressions for 3 different persiods.

                      Comment


                        #56
                        Thanks again !

                        Comment


                          #57
                          Is anyone else having issues with the summary text in the lower right hand corner covering up some of the data? Anyway to move this or turn this off?

                          Thanks!

                          Comment


                            #58
                            One could change the offending lines of code(s) into comment(s) or you could change the code so that the information is displayed in one of the other 3 corners of the chart window/panel.

                            Comment


                              #59
                              So I could do something with this..

                              DrawTextFixed( "Msg2", textMsg1 + "\n" + textMsg2, TextPosition.BottomRight,Color.Black, font, Color.Transparent, Color.Transparent, 10);


                              Except instead of BottomRight I could do TopLeft, correct? Will it overwrite the other text box in the top left or display the text below it?

                              Comment


                                #60
                                nmk85roll,

                                You can change it to display it wherever you want. It will not overwrite what was there already, it will just display them on top of each other unless you use the same string name then it will overwrite.
                                JoshNinjaTrader Customer Service

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by StefanJ, Today, 04:11 AM
                                2 responses
                                7 views
                                0 likes
                                Last Post NinjaTrader_ChelseaB  
                                Started by fxSol, 03-17-2019, 04:17 AM
                                3 responses
                                22 views
                                0 likes
                                Last Post NinjaTrader_ChristopherD  
                                Started by MarthaClines, Yesterday, 08:06 PM
                                1 response
                                9 views
                                0 likes
                                Last Post NinjaTrader_ChrisL  
                                Started by Trader_Kim, Yesterday, 03:41 PM
                                1 response
                                12 views
                                0 likes
                                Last Post NinjaTrader_ChristopherD  
                                Started by MarthaClines, Yesterday, 06:23 PM
                                1 response
                                3 views
                                0 likes
                                Last Post NinjaTrader_PaulH  
                                Working...
                                X