fiki

Turtles Modified Alerts

Alerts for famous Turtle Trading Rules. Based on work from tmr0 and ossettia. It can be used with Autoview.

If you have any advice on how to further improve the script, please let me know by PM or comment below. Thanks!

Please hit on "Like" if you find this script useful so that others can find it easier. Thanks!

*** The information and script provided here are no recommendation to buy or sell. They are just an idea for educational and discussion purposes. ***
Versionshinweise: Alerts for famous Turtle Trading Rules. Based on work from tmr0 and ossettia. Compatible with Autoview.

Please "Like" if you find this script useful. Thanks!

Update v2: Label positioning and naming below (buy) and above (sell) bars added to better visualize entries and exits.

*** The information and script provided here are no recommendation to buy or sell. They are just an idea for educational and discussion purposes. ***
Versionshinweise: Added background color: red = short / blue = long.

Please like if you find this script useful. Thanks!
Versionshinweise:
  • Updated to Pine Script v4
  • Changed shape of label
  • Changed label colors to better distinguish between fast and long signals

Please like if you find this script useful. Thanks!
Von Favorisierten Skripten entfernen Add to favorite indicators

Kommentare

Here is my Autoview code for XBTUSD on BitMEX for the ones interested. Please adapt accordingly to your needs.

a=enter-fast-L d=1
a=bitmex-testnet e=bitmex-testnet s=XBTUSD b=long l=5 q=100 t=limit ro=0

a=enter-slow-L d=1
a=bitmex-testnet e=bitmex-testnet s=XBTUSD b=long l=5 q=100 t=limit ro=0

a=exit-fast-S d=1
a=bitmex-testnet e=bitmex-testnet s=XBTUSD b=long l=5 q=100 t=limit ro=1

a=exit-slow-S d=1
a=bitmex-testnet e=bitmex-testnet s=XBTUSD b=long l=5 q=100 t=limit ro=1

a=exit-fast-L d=1
a=bitmex-testnet e=bitmex-testnet s=XBTUSD b=short l=5 q=100 t=limit ro=1

a=exit-slow-L d=1
a=bitmex-testnet e=bitmex-testnet s=XBTUSD b=short l=5 q=100 t=limit ro=1

a=enter-fast-S d=1
a=bitmex-testnet e=bitmex-testnet s=XBTUSD b=short l=5 q=100 t=limit ro=0

a=enter-slow-S d=1
a=bitmex-testnet e=bitmex-testnet s=XBTUSD b=short l=5 q=100 t=limit ro=0
+5 Antworten
Thank you so much for this awesome script! If you don't mind my asking, may I know how to backtest this script for a particular chart? I copied the script and pasted in the pine editor, then, added to a chart. However, there is nothing in the "strategy tester" tab. It just says something like "in order to test your strategy, apply your strategy to the chart, and select the stock symbol and period you want to test with". What I want to do here is that by changing the parameters in the script and simulating the profits in the strategy tester tab, I would like to find the best parameters (i.e. intervals) for the script for myself. Thanks a lot for your time in advance.
Antworten
esk48 esk48
sorry, never mind. I changed the declaration from study to strategy, and added the "original code from strategy" and worked. By the way, do you know how to change the unit of stock? It is currently "1" unit, but I would like to change it to 100 units.
Antworten
esk48 esk48
I found the place to change the unit. Sorry, again, but please never mind. Thanks.
Antworten
thanks for putting in the time and responding to everything detailed. What time frame in ur experience has this worked out best for (in any derivatives exchange, bitmex, binance, etc) and what other pairs?
Antworten
Antworten
Hello there
I have 2 questions:

1. What does these lines means in the script...
prevL1 = 0
prevL1 := exitL1_filt ? 1 : enterL1_filt ? -1 : prevL1
enterL1_final = enterL1_filt and prevL1 == 1
exitL1_final = exitL1_filt and prevL1 == -1
Can you explain that please?
What does do " := " in Pine script. I'm newbie in Pine and this operator isn't working in Pine v.4 apparently. Am I right?

2.Does this script use N (Same ATR) for pyramiding and adding more units as explained in the original idea?

Thanks a lot for your time
Antworten
fiki MomoJumbo
@MomoJumbo, Hi MomoJumbo. Here are my answers:

1. There are some drawing issues when you convert from a strategy to a study with alerts. So you need to handle these issues with this code. Check out e.g. https://www.youtube.com/watch?v=KcBce_06OP0

2. No, there is no pyramiding used. Basically, the script above is just a conversion of the strategy into a study with alerts so you can use it with e.g. ProfitView.

Hope that helped.
Antworten
@fiki,

Thanks a lot
Can I ask some more help?

1. How can we have plotted the price (for example price of "enterL1_final") Instead of text (for example "OFL") beside the shape on chart?

2. Is there any way to plot shape aside the bar at the exact price Instead of below or above the bar?

3. I wanna add pyramiding & stop to script but couldn't say to the Compiler to get last entry price or last pyramiding price.
Is there any chance to get an specified price and use it for next calculations?

Thank you so much for your time.
Wish you luck
Antworten
Startseite Aktien-Screener Forex-Screener Krypto-Screener Wirtschaftskalender So funktioniert es! Chartmerkmale Preise Einen Freund empfehlen Hausregeln Hilfe Center Webseite & Brokerlösungen Widgets Charting Lösungen Lightweight Charting Library Blog & News Twitter
Profil Profileinstellungen Konto und Abrechnung Angeworbene Freunde Coins Meine Support Tickets Hilfe Center Veröffentlichte Ideen Followers Ich folge Private Nachrichten Chat Abmelden