♥ 0 |
Hi Pete, came across this site that utilise Trend Intensity as a means to find stocks that met the defined criteria. May i request you to convert following 5 TC codes to thinkscript. Trend intensity (TI) is a momentum indicator which tells you direction and strength of a trend. 1. Bullish Trend Intensity 65 days (TI65 bullish) ( Not too sure if my interpretation of the code is correct, 7-Day moving average was 5% above all 65-Day moving average) avgc7/avgc65>=1.05 2. Bearish Trend Intensity 65 days (TI65 bearish) avgc7/avgc65<=.95 3. Bullish Trend Intensity 65 days Young (Young TI65 bullish) avgc7/avgc65>=1.05and AVGC7.25 / AVGC65.25 <= 1.05 4. Trend Intensity 65 days (TI65) as column avgc7/avgc65 5. Low Threshold Breakout minv3.1>=100000 and c>3 and avgc7/avgc65>=1.05 and c>0 and c>c1 and c/c1>c1/c2 and c1/c2<1.02 thanks
Marked as spam
|
Please log in to post questions.
You need to place a semicolon at the end if every line of code. So if you use only conditionOne then it would be:
plot scan = conditionOne;
However you have several conditions so you would actually do this:
plot scan = conditionOne and conditionTwo and conditionThree;
Adding all your condition variables in series like the example above. Just placed the word 'and' between each condition.