Predicting the future has nothing to do with trading, understanding your indicator and knowing how to use it does.
Probably not the most efficient code, oh well.. Let me know if it's useful :)
릴리즈 노트
UPDATE: - Made it much more user friendly with options in the input tab
New Explanation:
Below you see 2 triangles on the chart. It takes the highest high and lowest low between current price and the triangles, the mid point will be the current moving average value.
The offset (prediction) is calculated by giving it 1 length less than the previous, and an offset 1 more than the previous. This offset should always be true until a new high or new low is made out of the range between the triangles.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
차트에서 빠르게 액세스하려면 이 스크립트를 즐겨찾기에 추가하세요 — 여기에서 자세히 알아보기.