DayTradingOil

Price Predictor

Greetings Traders! I have decided to release a few scripts as open-source as I'm sure others can benefit from them and perhaps make them better.(Be sure to check my Profile for the other scripts as well: https://www.tradingview.com/u/DayTrading...).
This one is called Price Predictor.

How To Use Price Predictor
Price Predictor acquires potential targets by measuring the Average Change of Price from a user-defined resolution, from Open to Open. By default, the Resolution is set to 1 Day, however you can play around with Weekly, Monthly, etc. When a new resolution period begins, Price Predictor will automatically adjust based on the new Average Change of Price.

Due to the avoidance of Security() in this script, you may have to play around with the Timeframe that you use it in to ensure that you have enough bars on your chart to process the User-Defined Resolution.

The first Target Zone represents Target 5 of my other script, Trade Manager(https://www.tradingview.com/script/M926e...)(Given that you set the Target Multiple and Default Threshold Inputs as the same in each script), and is the most likely to be hit before the end of the resolution period.

In addition to a User-Defined Resolution, you also have the option of using a Custom Price to define Target Zones, however I'd recommend using my other script, Trade Manager(https://www.tradingview.com/script/M926e...), if the volatility of the Instrument isn't too high.

I wanted to give a Special Thanks to @Pinecoders for the Custom RoundToTick Function from The Backtesting/Trading Engine --> (
If you like Price Predictor, be sure to Like, Follow, and if you have any questions, don't be afraid to drop a comment below.
הערות שחרור: Updated Code Readability
הערות שחרור: Updated Chart Background Image
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר סקריפט זה פרסם אותו עם קוד פתוח, כך שסוחרים יוכלו להבין ולאמת זאת. הידד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום הנו בכפוף ל כללי הבית . אתה יכול להגדירו כמועדף ולהשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

תגובות

great indicator!! any advice for shorter TFs? which resolution should work better for 5-10min candles? how do you filter your entries? above/below green-red lines or within that zone? thank you in advance. great job
השב
Hi @al_va_ro,
I typically use the default "Daily" Resolution for Targets when using 5 min charts, and I like to use "Weekly" Resolution for Targets when using 15 min charts.I typically do not use lower than 1 Day Resolution. This script calculates the average % change of an instrument from open to open of the resolution you provide in the settings. I use the targets provided by Price Predictor as approximations and my main methodology of trading is to use the Initial Balance range breakout to calculate positions, stops, targets, etc. Thanks for the feedback!
-DayTradingOil
השב
man, im really liking your style.. its very very similar to mine.. in terms of finding areas to trade from.. very nice.,. in ALL you do!!!
השב
DayTradingOil btcwrecked
@btcwrecked, Thank you for the kind words!
+1 השב
בית סורק מניות סורק מט"ח סורק מטבעות-קריפטו יומן כלכלי אודות תכונות גרף מחירון הפנה חבר כללי הבית מרכז תמיכה כלים לאתרים וברוקרים יישומונים פתרונות גרפיים ספריית גרפים קלי משקל בלוג וחדשות טוויטר‏