UpTwoBucks
Active member
In the fast-paced world of investing, keeping up with the latest financial news and reports is crucial to making informed decisions. Earnings reports, in particular, play a significant role in influencing stock prices and investor sentiment. But how can you leverage these reports to maximize your profits? Join us in this informative video as we delve into the fascinating world of earnings reports and unlock the secrets to profiting from them. Whether you're a seasoned investor or just starting your journey, this video is packed with valuable insights and practical strategies to help you navigate the earnings season like a pro.
This is a shared link off my system. https://tos.mx/OhrDaqn
Code:
#Has Earnings in next 2 days
Input length = 2;
input choice = {default "Has", "Does Not Have" };
input Choice2 = {default "Any time", "Before the Market", "After the Market"};
def earnings = hasearnings();
def when;
switch (Choice2){
case "Any time": when = hasearnings();
case "Before the Market": when = HasEarnings(type = EarningTime.BEFORE_MARKET);
case "After the Market": when = HasEarnings(type = EarningTime.AFTER_MARKET);
}
#NO earnings
plot scan;
switch (Choice){
case "Has":
scan = sum(when,length)[-length +1] > 0;
case "Does Not Have":
scan = sum(when,length)[-length +1] == 0;
}
This is the volume spike code. In a watch list, click the gear icon on the right, select customize, Then type custom on the left, move it over to the right. Click the tablet and paste the code. Make sure 1 minute timeframe and extended hours is checked. If you prefer the shared link: https://tos.mx/WY8iqLI
Code:
input vol_change_pct_threshold_up = 100.0;
input vol_change_pct_threshold_down = 100.0;
# Volume Spike Indicator
def rel_vol = volume / Average(volume, 50);
def vol_change_pct = (rel_vol - 1.0) * 100.0;
def is_spike = vol_change_pct >= vol_change_pct_threshold_up;
def is_spike_down = vol_change_pct >= vol_change_pct_threshold_down;
def is_bullish = close > open;
def is_bearish = close < open;
AddLabel(yes,
if is_spike and is_bullish then Concat(AsPercent(vol_change_pct / 10000.0), " - Bullish" + " ")
else if is_spike and is_bearish then Concat(AsPercent(vol_change_pct / 10000.0), " - Bearish" + " ")
else "",
if is_spike and is_bullish then Color.GREEN
else if is_spike and is_bearish then Color.LIGHT_RED
else Color.BLACK);
Last edited by a moderator: