Help Moving Average Study

Toesz

New member
VIP
Hello ThinkScript community,

Can someone help me write the following code?

In the chart below, there are multiple studies:

  • MovAvgExponential (CLOSE, 10, 0, no)
  • 1729544633372.png
  • MovAvgExponential (CLOSE, 25, 0, no)
  • 1729544671055.png
  • ATR (14, WILDERS)
  • 1729544700893.png
  • RIS (14, 70, 30, CLOSE, WILDERS, no)
  • 1729544726631.png
  • What I’d like to do:
    • 10 period EMA crosses fully above the 25 EMA.
    • Full green candle (including wick) sits above the lined 10 period EMA at the close of the one minute time frame.
    • 1729544747517.png
    • Alert potential long set up with a ding and a green arrow below the signal candle.
    • 10 period EMA crosses fully below the 25 EMA.
    • Full red candle (including wick) sits below the lined 10 period EMA at the close of the one minute time frame.
    • 1729544764647.png
    • Alert potential short set up with a ding and a red arrow above the the signal candle.
    • The arrows can go above/below the dashed EMA line as well.
    • 1729544783728.png
      1729544797464.png
  • Larger chart example:
    1729544829457.png
    • Once there is a signal, I use the ATR to determine risk and target. I use RSI just to give me a gauge on current activity.
    • I rely heavily on Price Action to provide the real edge on the probability of where price MAY go next.
    • If I could get some help, I'd appreciate it. Thank you all. Toesz
 
Last edited by a moderator:

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

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
225 Online
Create Post

Similar threads

Similar threads

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