Hi as you can see in the title im looking for help to translate a code used to scan the markets on TC2000 to PRT
The utility of this scanner is to show me all the stocks that have 4 consecutive green candles on 15m charts,
the original code used in tc2000 is : TrueinRow (H > H1 and L > L1,4) > =4
i hope somebody can help me, i need the code as quick as possible to continue my learning, thank you in advance
> Please update your country flag in your profile. Thank you 🙂 <<
and post in the correct section with the correct language next time! 😉
The code you have posted is not about 4 green candles but about 4 consecutive candlesticks higher highs and higher lows.
So it could be coded like this: (not tested)
test = summation[4](high>high[1] and low>low[1])=4
screener[test]
Thank you Nicolas the code works perfectly it will help me to improve my stocks stalking strategy and by the way im french i just respond in english because of the English forum 🙂