Skip to main content

Posts

Showing posts from 2025

CTS-Send alerts to gmail, Telegram

 Of course. Sending notifications from a Google Sheet to Telegram is an excellent and very popular alternative, especially since it doesn't have the same kind of administrator restrictions that Google Chat sometimes does. You will need to use a "Telegram Bot." This isn't a complex program; it's just an automated Telegram account that your Google Apps Script can send messages to. The bot will then post those messages into your desired group or channel. The process involves three main parts: Create a Telegram Bot and get its API Token. Get the Chat ID of the group or person you want to send messages to. Update your Google Apps Script to send the notification to Telegram's API. Here is a full step-by-step guide. Step 1: Create Your Telegram Bot and Get the API Token You will use a special bot called "BotFather" to create your own bot. Open Telegram (on your phone or desktop app). In the search bar, type BotFather and select the official one with th...

CTS-Entry point- reaction line

  Of course. This is a significant and interesting evolution of the strategy. You are now moving from pure indicator-based entries to a sophisticated price action pattern: trading breakouts from consolidation within an established trend. I have translated this new logic into the Pine Script strategy below. Analysis of Your New Rules First, let's analyze the logic, as it's very important to understand what we are telling the code to do. "Draw green line for higher low reaction, and red line for lower high reaction." This means we need to programmatically identify the most recent significant swing low (our green line) and swing high (our red line). We will use Pine Script's ta.pivotlow() and ta.pivothigh() functions to do this. "If red line above green line... it like a triangle formation. So we can't entry." This is the core of your new filter. You are identifying a period of price consolidation or contraction , where the price is making a lower hi...