bpscripts

BP Scalper with resistance bars

bpscripts 已更新   
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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?