blackFLAG FTS - SwingArm Trend Indicator using ATRTrailing Stop and Fibonacci Retracements

Status
Not open for further replies.
@fjr1300 , thanks for the update, I've now updated it on my end as well...

LS3SHTr.png
 
@Playstation

Trying to combine these two scripts into one, but it doesn't work. Can you help to fix it?

Code:
input trailType = {default modified, unmodified};
input ATRPeriod = 28;
input ATRFactor = 5;
input firstTrade = {default long, short};
input averageType = AverageType.WILDERS;
input fib1Level = 61.8;
input fib2Level = 78.6;
input fib3Level = 88.6;
Assert(ATRFactor > 0, "'atr factor' must be positive: " + ATRFactor);
def trail = ATRTrailingStop(trailType, ATRPeriod, ATRFactor, firstTrade, averageType);
def stateLong = low > trail[1];
def stateShort = high < trail[1];
def BuySignal = Crosses(stateLong, 0, CrossingDirection.ABOVE);
def SellSignal = Crosses(stateShort, 0, CrossingDirection.ABOVE);
def ex = if BuySignal then high else if SellSignal then low else if stateLong then Max(ex[1], high) else if stateShort then Min(ex[1], low) else ex[1];
def TrailingStop = trail;
def Extremum = ex;
def f1 = ex + (trail - ex) * fib1Level / 100;
def f2 = ex + (trail - ex) * fib2Level / 100;
def f3 = ex + (trail - ex) * fib3Level / 100;
def l100 = trail + 0;
def Fib1 = f1;
def Fib2 = f2; def Fib3 = f3;
##edited by Playstation 31.05.2020##
##Criteria of price between f1 & f2 zones and swingarm trend is bullish##
##Criteria of price between f1 & f2 zones and swingarm trend is bearish##
plot data = if (close is greater than f2 and close is less than f1) and f1 > f2 then 2 else if  (close is less than f2 and close is greater than f1) and f1 < f2 then 1 else 0;
AssignBackgroundColor(if data == 2 then Color.PINK else if data==1 then Color.BLUE else Color.GRAY);
 
How do you access the VIP room. I am already a VIP member but dont see that room in discord. Do I have to do something.
 
@KarlWolff /MES is the micro E-mini S&P 500 and you can get exposure to the standard /ES for 1/10th of the size.
 
I guess the swim zone is kind of delay. Looking forward to update the code.
I have one question, do you guys have this watchlist setting guide?
My setting was unsucessful!
 
Why is MES used instead of ES? And can someone explain the zone labels in the new watchlist? Thanks!

Please watch the videos provided at the beginning of this thread or the youtube channel. Enjoy.
 
@KarlWolff /MES is the micro E-mini S&P 500 and you can get exposure to the standard /ES for 1/10th of the size.
I know what it is, I'm just not sure why it's used as a base chart since there are minor bar differences between the two.

Maybe I missed the explanation! Thanks for the great work, Jose. Your logic is very sound and I like how you present it graphically. Yet, I'm still trying to organize the charts (across three monitors) that makes entries obvious in a fast moving market...
 
Yes I am also getting the error when importing the latest TOS alert template. Can someone guide how to import these in TOS or steps to import it.
 
Thank you for your great work! Looking forward to connecting and learning more in the chat room. Can someone please send me the link?
 
Can someone please look into this... I don't want to spam but seems very helpful links so how to import if there is any workaround for these?
 
Status
Not open for further replies.

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
439 Online
Create Post

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top