XaviZ

lamBOTghini-ALERTador & SL/TP V3

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!
Remove from Favorite Scripts Add to Favorite Scripts
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.
Reply
anyone testing it yet for autoview ?
Reply
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.
Reply
XaviZ neodani
@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
Reply
@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

Reply
@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
Reply
XaviZ linhvn123
@linhvn123, YW... With hlc3 Less real-time price fluctuation than close
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing TradingView Coins My Support Tickets Get Help Ideas Published Followers Following Private Messages Chat Sign Out