Hello
I am using Schaff Treand Cycle (STC) study tool with other tool in chart to enter and exit but now i want to make EA (script) to scan or generate buy sell signal.
so i want to know how to use STC function in script code ?
There is a function upon STC ?
can i make function for STC value so i can use it in SCRIPT.
Thanks
Schaff Trend Cycle indicator is already available in Pi under chart study by default, you can open a chart and check
I KNOW BUT HOW I CAN USE IT TO MAKE SCAN OR ALERT SCRIPT .
LIKE SCH(14,8,16,SIMPLE) > 30
1 Like
Schaff = 100 x (MACD – %K (MACD)) / (%D (MACD) – %K (MACD)). In case the STC indicator is decreasing, this indicates that the trend cycle is falling, while the price tends to stabilize or follow the cycle to the downside.
Pls give me a return