guikroth

BB_Buy and Sell

New
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Commenti

HI, Can you please tell me in which time frame it works best?
+25 Rispondi
pavan9k BunnyTheTrader
@Pavan Basha TheTraders, 15 min
+1 Rispondi
Why so many "Buy" under alert condition?? Just curious thank you. Great job looks great!

// === /PLOTTING ===

// Send alert to TV alarm sub-system
alertcondition(LONG,title="Buy",message="Buy")
alertcondition(LONG,title="Buy",message="Buy")
alertcondition(LONG,title="Buy",message="Buy")
alertcondition(SHORT,title="Sell",message="Sell")
+10 Rispondi
guikroth TopNotchCrypto
@TopNotchCrypto, Hi man! I just because, depending tha resolution of screen the computer, some buy alerts stay "invisible", hiden... So, this way, it dont happen.
If you search for some aleatory script with alerts, you will see that the alerts dont exist. it just because they only set one alert for each condition. Maybe in your monitor not, but trading view have this issue. I not write very well in english, so, if you didn't understand something, just say. Thanks man!
+1 Rispondi
guikroth TopNotchCrypto
@TopNotchCrypto, continuing....
if you are only seeing an alert buy and a sell at the time of creating the alert then it means that the resolution of the trading view on your monitor presents this problem, and the way I wrote the script you did not realize the error. However, if I had just placed a buy or sell sign, you would not be able to create the alerts, because you would not see them.
Rispondi
@guikroth, Thank you for the explanation. I just wasnt sure I totally understand. Awesome job my friend. Keep up the great work.
Rispondi
guikroth TopNotchCrypto
@TopNotchCrypto, Thanks Man! Try the Range Filter By Donovan and mixed by me
Rispondi
Is it possible to somehow insert both buy and sell into one condition so that only the message changes from this?

like so, but wthout error)
alertcondition(SHORT or LONG,title="Trade",message=(SHORT)?"Sell":"Buy")
+1 Rispondi
" Processing script...
line 63: Using argument with the same name 'transp' "

i got this error when i added script .. so i cant got statergy tester results .
Rispondi
This absolutely does repaint, I literally just watched it happen a moment ago. Thankfully I only paper trade when testing a new indicator or strategy, but advertising this as 'no repaint' is inaccurate and can cause a loss if someone trusts this script not knowing that it repaints.
Rispondi