This Script is used for scalping on the 15 min. It can do the other time frames but i built it for primarily the 15. There is some logic where i use the previous candles and i'm using intervals of 4 to get 1 hour estimates. This also works with the 1 hour, because the 4 hour is what it will compare with.
It uses Buy volume and sell volume to create the indicators. If the buy volume starts losing traction on the sell volume the indicator triggers.
הערות שחרור
Adjusted logic in scalping tool. Added a take profit after 1% gains and buy volume is reducing. Adjusted Buy Theory, Now it will only buy if it is in the lower resistance zone. and it is set to sell if 1% gain or if its in the upper resistance zone. Bull Market setup added. This will NOT SELL if the item goes into a bull market. and will sell when new top resistance is formed. Bear Market theory added, This will not buy on weird manipulation pumps. If a Top Resistance is created below a Low Resistance it will not do any buys.
Hope you guys enjoy the adjustments :)
הערות שחרור
Adjusted Bear Market settings. Also fixed a bug
הערות שחרור
Added EMA rules to buy settings. Tweaked the view a bit, so now you can see bullish momentum
adjusted settings to send multiple signals because this was not working with a program i built. Note: To change your signals so you only get 1 indicator per bar the alerts will need to be changed to (revLong or revShort) these will use built in memory to detect if a pervious buy signal had gone off. I've left the code in there but i changed it for this version.
Please give feedback as to if you like these changes or would like to see other features. This is just kind of my personal script but i am just leaving it open to the public to use. Feel free to leave comments as i am still new to pine script.
הערות שחרור
Adjusted for false indicators, I pretty much told the script, to not report a buy signal if the last 2 indicators were sell signals. , this delays the buy and the indicator will appear clear. If you see a clear mark on this it means that there is a potential point to Buy or Sell, but it was not confirmed.
This is intended to be a guide for your trading to show the market direction, should clean up false positives.
הערות שחרור
Edited Core of this code, fixed issue where there were false positives by telling it to take a % of loss or a % of gain before rebuying bac in. So now it will only buy if the buy alert hits and its under 2.3 % of the sell price, and it will only sell if the price is 2.3 % above the buy in. There is a built in stop loss at 1% also. so you may see 1% loss on a sale but its a stop loss feature.
הערות שחרור
If you use the alerts my last version was alerting the entire time it was green bc i had forgot to change alert condition. Now alerts work.
ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.