Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Can anyone explain how to only plot (x) numbers for the swing percentage settings.....As a example only plot 38-80...and make all other numbers not selected be transparent. Im Trying to keep a cleaner chart and I dont understand the logic to make this happen
thx in advance...this is bugging me and I cant find a solution
R
Can you help answer these questions from other members on NexusFi?
So what you want to do is to evaluate the value of swing percent against a high and low number and if the percent is outside the low - high range then do not print the swing percentage or if it is inside your high and low then do print. You are also implying that the low and high values are adjustable by the user so user input will be needed.
Taking a quick look at the beauty of PriceActionswingPro code, here (I think) is the existing section of interest (under Region Swing value output)
There is of course more than one way to do this so here is but one suggestion.
It would appear that the above section is selected by user (with the bool showSwingPercent) to display the swing percentage variable curHighPercent
If you added 3 variables (in the variable declaration section):
private bool percentInRange = false ;// Flag to say percent in user selected range to print
private double percentLow = 38 ; // Holds the user select min value for printing
private double percentHigh = 80 ; // Holds the user selected max value for printing
And then you would modify Dorchen's code to:
if (curHighPerecent >= percentLow && curHighPerecent <= percentHigh) percentInRange = true ; // okay to print
At the risk of quoting myself, I have quoted myself...
After reviewing the modifications it became apparent that the changes I recommended would not work as originally requested. Briefly, I had forgotten that as the swing developed all of the swing info is readjusted and shifted to match up with the latest high or low which could be the next bar or several more bars. With the code I provided what would happen is that as long as the swing percentage was within the specified limits it would print but as soon as it went out of the limits it would no longer print and while that sounds like what was requested in reality is that the last percentage that was within the limit would stay on the chart but it might be in the middle of the swing!! Again the reason for that is that was the last place (within the swing) it was within limits.
But that is not how the requestor wanted it to work. He clearly only wanted to see the final swing percentages within his limit specification. So here is the original code and the modifications to make it work, shown in RED
Trading: 6C (Low Margin,) 6E, CL, GC, ES and Maybe DX for smaller tick value
Posts: 1,394 since May 2011
Thanks Given: 1,719
Thanks Received: 1,020
This request is originally posted in the "free incicator" thread.
helped by fixing the specific strategy. But it would be much better if the fix was in the PASwingPro indicator so it could easily be plugged into multiple strategies without the editing.
Wizard generated strategies cannot be manually edited and then continued with the wizard. So once the stratgy is fixed it cannot be modified by Wizard.
May I request someone take a look at the previous post referenced below that includes the attachments? It would be a great help. THANK YOU!
I stumbled upon this while looking around for a wyckoff wave volume type of indicator.
I must say this is a fabulous piece of work.
My hat is off to you.
Thank you for your hard work and sharing. It is excellent.
I've already done this. Click on the Tasker_182 blue quote button above and it will take you to the quoted post with the indicator and even sound files. Sorry does not include LH or LL or HH or HL
Be yourself; everyone else is already taken. Oscar Wilde