ANTS indicator

ANTS indicator

The ANTS Indicator is a custom technical tool designed for ProRealTime that uses daily timeframes to highlight specific conditions in price and volume movements over a 15-day period. It visually marks patterns on the chart using colored points to make the analysis more intuitive and actionable. Below, we’ll explore how this indicator works, its main components, and how to apply it.


Key Features of the ANTS Indicator

The ANTS Indicator uses three key conditions based on price and volume averages:

  1. C1: Price Momentum
    Detects whether the closing price has increased compared to the previous day for at least 12 out of the last 15 days.
  2. C2: Volume Surge
    Compares the average volume over the last 15 days to the average volume from 16 to 50 days ago. A significant surge in recent volume (20% or more) is flagged.
  3. C3: Price Increase Over Time
    Checks if the average closing price of the last 15 days is at least 20% higher than the average closing price from 16 to 50 days ago.

How the Indicator Works

Conditions and Visualization

The ANTS Indicator uses the above conditions to categorize price behavior into four scenarios, each represented by a distinct color on the chart:

  1. Green Points
    When C1, C2, and C3 are true, the indicator plots green points on the highs of the last 15 bars. This signifies strong momentum in price and volume, accompanied by a significant increase in average prices.
  2. Blue Points
    When C1 and C3 are true but C2 is false, the indicator plots blue points. This suggests price momentum and an increase in average prices, but without significant volume support.
  3. Gold Points
    When C1 and C2 are true but C3 is false, the indicator plots gold points. This indicates strong momentum in price and volume, but without a substantial increase in average price levels.
  4. Silver Points
    When only C1 is true, the indicator plots silver points. This reflects general price momentum without significant increases in volume or average price levels.

Code Explanation

Here’s how the code works for each condition:

How to Customize and Use

You can modify the thresholds for C2 and C3 to fit different trading styles or instruments. For example:

  • Change the volume multiplier: Adjust 1.2 to a higher or lower value to fine-tune the sensitivity of the volume condition.
  • Adjust the price growth requirement: Modify 1.2 in C3 to reflect different levels of price increase expectations.

 

Practical Applications

The ANTS Indicator is particularly useful for identifying potential breakout scenarios, trend continuations, or market exhaustion based on the interplay of price and volume dynamics. Here’s how traders might use it:

  1. Trend Following: Green points signal strong upward trends supported by volume and price growth.
  2. Volume Divergence: Blue points highlight situations where price increases lack volume support, potentially indicating weakening trends.
  3. Momentum Shifts: Gold and silver points may indicate shifts in momentum or consolidation phases.

Conclusion

The ANTS Indicator combines momentum and volume analysis to provide traders with a visually intuitive tool for spotting actionable patterns in daily timeframes. By customizing its parameters, it can be tailored to suit various market conditions and trading strategies.

Try it on your ProRealTime charts today to see how it aligns with your trading style!

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. atlante • 62 days ago #

    good morning the indicatordoes not display the photo you postes only upload nessages appear just balls please correct it thanh excellent work

  2. foufurieux • 61 days ago #

    Please find a new image of the indicator

  3. foufurieux • 61 days ago #

    Sorry impossible adding a new image

avatar
Register or
Related users ' posts
Nicolas Thanks for contributing to the "ichimoku section" of the prorealtime code library Don't he...
sourberry Thank you , this is a great indicator works beautifully. Could you kindly modify to scr...
pp_playaflamenca Excuse me,... reading your code about spanB: [ SenkouSpanBFutureW = (Highest[SenkouSpanPerio...
Nicolas
8 years ago
Better Volume
Better Volume
39
Indicators
Keyeming Hello Nicolas; not sure to undersntad line 167, and in the video I d'ont remember that the a...
Nicolas I don't know, this code is 6 years old and I made a 1:1 translation of the provided code by ...
Alai-n https://emini-watch.com/free-stuff/volume-indicator/
Nicolas
9 years ago
Nicolas You will find the VWAP code from PRT here: https://www.prorealcode.com/topic/is-there-any-wo...
keks Thanks for sharing this wonderful code. Is there a way to draw a horizontal line to plot pre...
taklause Hello, just one question, can it be that this indicator does not work on ProRealTime v12? T...
Nicolas
9 years ago
Up on Big Volume
Up on Big Volume
0
Screeners
Nicolas
9 years ago
Nicolas
9 years ago
Nicolas
9 years ago
Nicolas Just replace the last line with this : RETURN dm as "Volume Weighted MACD", masignal as "Si...
thomas2004ch I happen to read this article. I would say the formel 'd = maslow - mafast' could be inverse...
Nicolas You are right! but still the picture is looking good. The formula is inverted! dunno why :) ...

Top