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. ***
Apr 06
Release Notes: 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. ***
Apr 07
Release Notes: Added background color: red = short / blue = long.

Please like if you find this script useful. Thanks!
Jun 29
Release Notes:
  • 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!
Remove from Favorite Scripts Add to Favorite Scripts
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
Reply
hi, thanks for this, do you have the strategy for this in pine V4 ?
Reply
fiki Princecrypto
@Princecrypto, Hi Princecrypto. The strategy can be found in the article from tmr0 which you can find here:

The job I did is to translate the strategy into study so you can use automated alerts, e.g. with ProvitView.
+1 Reply
thanks for this @fiki, any idea why I can't see the alert names ? https://www.evernote.com/l/AASw0A19XGRHwZEjQIwj1tCzWSrRlWYKPDQ thanks
Reply
fiki benjad
@benjad, Hi benjad. You have to select the study in "Condition" when you add an alert. Only then you can select the alert condition. So in your case don't select "BTCEUR" but the name of the study. I hope that helped.
Reply
Is there a way to only display the fast alerts?
Reply
fiki easy45
@easy45, Yes, you can copy the code above and uncomment the fast signals / alerts (see below). There is also an interesting observation on the 15 min chart: If you offset OSS and OSL signals by 2 hours in the future and reverse the signals in the sense of OSS becomes buy and OSL becomes sell, you get some good entries. Still testing this special case. I may publish a script in the near future if testing is successful.

// fast L
// plotshape(enterL1_final, color = #1e90ff, text = "OFL", style=shape.triangleup, location=location.belowbar, size=size.small)
// plotshape(exitL1_final, color = #ff69b4, text = "CFL", style=shape.triangledown, location=location.abovebar, size=size.small)

// fast S
// plotshape(enterS1_final, color = #ff69b4, text = "OFS", style=shape.triangledown, location=location.abovebar, size=size.small)
// plotshape(exitS1_final, color = #1e90ff, text = "CFS", style=shape.triangleup, location=location.belowbar, size=size.small)

// slow L
plotshape(enterL2_final, color = #0000ff, text = "OSL", style=shape.triangleup, location=location.belowbar, size=size.small)
plotshape(exitL2_final, color = #ff0000, text = "CSL", style=shape.triangledown, location=location.abovebar, size=size.small)

// slow S
plotshape(enterS2_final, color = #ff0000, text = "OSS", style=shape.triangledown, location=location.abovebar, size=size.small)
plotshape(exitS2_final, color = #0000ff, text = "CSS", style=shape.triangleup, location=location.belowbar, size=size.small)
Reply
Thanks a lot for this amazing strat adapted for automatic trading !
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out