TradingView
reastruth
16 Şub 2023 21:53

ICT Macros 

Micro E-mini S&P 500 Index Futures (Mar 2023)CME

Açıklama

This script allows traders to visualize the range of time when a macro (an automated series of instructions/trades from large fund traders, executed by an algorithm) will likely occur in the market. It does this by drawing vertical lines and labels on the chart at these specific times:

(Macro Open) - 9:50 AM EST
(Macro Close) - 10:10 AM EST
(Macro Open) - 10:50 AM EST
(Macro Close) - 11:10 AM EST
(Macro Open) - 1:10 PM EST
(Macro Close) - 1:40 PM EST
(Macro Open) - 3:15 PM EST
(Macro Close) - 3:45 PM EST

The theory behind the use of these macros - is that the market will either seek buy side or sell side liquidity, or seek to rebalance price at a point of interest in between the open and close of the macro. Traders who follow this theory can use that information to anticipate how price might behave.

When a macro occurs, the script draws a vertical line on the chart using a dotted line style with a user-defined color. Additionally, a label is placed above the line to indicate whether it is a Macro Open or Macro Close event.

To preserve space, the labels are abbreviated on chart - "Macro Open" (M.O.) and "Macro Close" (M.C.) for both the morning and afternoon trading sessions. The labels may be turned on/off by the user.

The script also includes alerts that can notify traders when a macro occurs. These alerts can be set to go off once per bar close, and the alert message indicates the specific macro type and time.

This script is entirely open-source, meaning that traders can read the code and modify it as needed. Credit to the foundation of this script goes to TradingView user @rickyzcarroll for his open source Strat Assistant Hour Flip script. Important changes include the specific time changes and alert function.


Sürüm Notları

Added NY Lunch Macro (11:50am open 12:10pm close)
Added alert function for each open and close
Included NY lunch macro in Any alert

Sürüm Notları

Added 2 London Macros:
2:33am - 3:00am
4:03am - 4:30am

Times are EST (New York)
*Important - Your time frame must be set on a time in which the open/close of the candle is on the time of the macro. A 1 min candle will show all macros

Sürüm Notları

Added:
(Macro Open) - 8:50 AM EST
(Macro Close) - 9:10 AM EST

Added:
The "Any alert() function call" now includes a "2 minute warning" alert before each Macro Open.
-the purpose of this is to give you time to asses the current conditions of the chart prior to the Macro Open window.

"The reason why you're getting stopped out and you don't know why the market moved is because you're not doing what I'm teaching. It's running its macro, a short little list of things that the algorithm is supposed to do based on time, day of the week, seasonality, and the liquidity that's in play."
-Michael Huddleston

Sürüm Notları

Corrected the errors of the previous update. Times and alerts are correct now!

Sürüm Notları

DTCC fix

Sürüm Notları

-Long overdue -

-Added Timezone input
-Updated to pinescript v5
Yorumlar
SugarTrader77
Thank you. These macro ranges are for Forex or US indices?
VirgoICT
What is DTCC on the indicator mate?
Manage2Damage
Hey bro! Is there a way I can disable the 13:10/13:30 macro?
reastruth
@mmeerlin, Not the way it is scripted now but I may add this feature in the future. If you really want it gone, you can open pine editor, select open, create a new indicator, copy and paste the script in there, and delete the
"or time==_1_10P" on line 68
"or time==_1_40PM" on line 73
Then put "//" (w/out the quotes) at the very beginning of 95, 96, 130, and 131
Manage2Damage
@reastruth, Oh that's very nice to know man! Thank you. Btw, have thought of putting the option to turn ON/Off different macros with checkbox? Anyway, thanks for the tip and for the indicator. Those verticals are veery nice :)
reastruth
@mmeerlin, Yeah I have made an attempt but it was buggy with the current codes framework. I'll need to spend some more time on it to sort it out. It is on my radar though.
Manage2Damage
@reastruth, Awesome! 'that would be yyuuuge :P Thanks for everything!
pleasantGear75613
Awesome indicator! Thank you for creating it!
mosflix
Thanks for sharing
BezG
Thanks for making this indicator!

I was wondering if you would consider:
- Different colors for Macro Open anc Close
- Shaded area for macro instead of lines
- Making macros draw out in advance for the day
Daha Fazla