TradingView
UnknownUnicorn2151907
8 de Set de 2018 13:27

lamBOTghini-ALERTador & SL/TP V3 

Bitcoin / TetherUSBinance

Descrição

I publish the code again in case someone is interested in learning. I am not an expert, I learned from others who published their scripts and for this reason I do the same.
If someone tries to sell you a script it is because they do not make money with it in trading and they need to sell it to earn something.

It is a simple combination algorithm of 3 EMA with stop loss and Take profit and with alerts.

Enjoy!


¡Mucho ánimo a los Venezolanos!
¡Saludos desde España!
Comentários
prashantmahuvagara
Hello sirji tradingview per ye jo stratgey banate he wo apni khud ki stratgy kese bana sakte he? Target or stoploss or etnry lable kya help karoge thodi?
Ah_Huh
Thanks for the great script. Works far better than a lot of others that claim Pro. Please people, don't just take this, recode or rename to sell.
shop1930
anyone testing it yet for autoview ?
neodani
Hi Xavi,

Very nice script. One question:

Could you tell me how I can get out of the operation, instead of defining a percentage profit take, using the SAR?

Thank you very much.
UnknownUnicorn2151907
@neodani, you're welcome Dani

The easiest way I think could be this... you can add this in the initial part of the script:

// SAR

Sst = input (0.02, "SAR start")
Sinc = input (0.02, "SAR inc")
Smax = input (0.2, "SAR max")
pSAR = sar (Sst, Sinc, Smax)
plot (pSAR, style = cross)


And then a second condition in ShortCond:

... or (pSAR > open and rising (pSAR, 2))

And I would change the SAR settings to 0.04,0.04,0.2 or better
neodani
@XaviZ,

Thank you, it works!

I miss marking the exact crossing in some way when it comes in and when it comes out of the operation. Is it possible in any way?

On the other hand, some reason why you chose hlc3 instead of close? I already know that hlc3 means the mean of O, H and C.

Thanks

linhvn123
@XaviZ, your script is awesome especially when you publish code for everyone.
I have a question. Why do you use source=hlc3 instead of close?
Thanks you
UnknownUnicorn2151907
@linhvn123, YW... With hlc3 Less real-time price fluctuation than close
Mais