♥ 0 |
Hi Pete, further to my query; could you please post the screen shot you talked about on how to adjust the VP code to pick stocks as they are crossing VAH and VAL. Thank you. RESOLVED
Marked as spam
|
Private answer
For the scan, you need to change the first four user inputs. Their default values are listed as:
Change them to:
Pretty sure we showed how to adjust these settings for the chart version in the demo video.
I took the time to watch the entire video again. https://youtu.be/UerGumC2CUA You will find my instructions beginning at the 34:30 mark explains how to adjust the settings to find the very signals you are requesting. Something you must keep in mind when evaluating the results. The signals are looking at the close of each bar. The highs and lows are ignored when it's checking to see if a specified level has been breached. The default settings are already structured to catch crosses of the VAH and the VAL. The one thing to remember is that any bar that closes within the range established by these settings will generate a valid signal. Simply ignore the ones that don't cross the VAH or VAL, those signals are you "advanced notice" of an impending cross. I tested this at 1% range and it does indeed present valid signals. However they are extremely rare because the candle must close within that very tight range. I am sorry to have misled you with my original answer. But is has been a long time since I looked at this indicator in any detail. (I've written thousands of lines of code since then). Many times the price stops and reverses before reaching the VAH or VAL. Therefore the indicator has been setup to provide that early warning so that you can be there watching the chart when and if it does cross. I hope this helps clears things up. Marked as spam
|
Please log in to post questions.
Pete, below is the code per your suggestion however it’s not picking up any stock. Are there any other suggestions to have it working? Note: I’m applying it to a 5-min aggregation as this the timeline of my charts.
input scanUpperVaLimit = 100.0;
input scanUpperVaRange = 0.0;
input scanLowerVaLimit = 0.0;
input scanLowerVaRange = 0.00;
input scanLookbackBars = 1;
input pricePerRowHeightMode = { default AUTOMATIC, TICKSIZE, CUSTOM};
input customRowHeight = 1.0;
input timePerProfile = { MINUTE, HOUR, default DAY, WEEK, MONTH, “OPT EXP”, BAR};
input multiplier = 1;
You are correct. I just tested these settings on the chart study version and the signals do not appear at all. I am sorry to say we cannot support this without a full modification of the code. Such modification would only be available for the premium version. The existing signals and alerts are based on the majority of material published out trading these levels. Since I did not run across anything describing a cross of the VAH and VAL in my research it was not considered for the premium version.
If you have some authoritative source showing a professional trader using those types of signals please provide a link to that information. I will review the material and consider making modifications for the premium version.
Alright, then. But even if ‘UpperVALimit’ is set to catch stocks which are trading 1% above the limit it still doesn’t work as you indicate in your video for the adjustments part. I believe the whole code needs to be reviewed for it’s purpose if you’re going to disseminate quality free content, or even premium studies for that matter. Thank you anyway for the effort.
input scanUpperVaLimit = 101.0;
input scanUpperVaRange = 0.0;
input scanLowerVaLimit = 0.0;
input scanLowerVaRange = 20.00;
input scanLookbackBars = 1;
input pricePerRowHeightMode = {default AUTOMATIC, TICKSIZE, CUSTOM};
input customRowHeight = 1.0;
input timePerProfile = { MINUTE, HOUR, default DAY, WEEK, MONTH, “OPT EXP”, BAR};
input multiplier = 1;
input onExpansion = no;
input profiles = 50;
input showPointOfControl = yes;
input showValueArea = yes;
input valueAreaPercent = 70;
input opacity = 50;
Ok, fair enough. I took the time to watch the entire video again. https://youtu.be/UerGumC2CUA
You will find my instructions beginning at the 34:30 mark explains how to adjust the settings to find the very signals you are requesting. Something you must keep in mind when evaluating the results. The signals are looking at the close of each bar. The highs and lows are ignored when it’s checking to see if a specified level has been breached.
The default settings are already structured to catch crosses of the VAH and the VAL. The one thing to remember is that any bar that closes within the range established by these settings will generate a valid signal. Simply ignore the ones that don’t cross the VAH or VAL, those signals are you “advanced notice” of an impending cross.
I tested this at 1% range and it does indeed present valid signals. However they are extremely rare because the candle must close within that very tight range. I am sorry to have misled you with my original answer. But is has been a long time since I looked at this indicator in any detail. (I’ve written thousands of lines of code since then).
Many times the price stops and reverses before reaching the VAH or VAL. Therefore the indicator has been setup to provide that early warning so that you can be there watching the chart when and if it does cross.
I hope this helps clears things up.