OPEN-SOURCE SCRIPT

TrianglePoint strategy

Telah dikemas kini
This is trend following strategy ... when price is trading well above 200 ema and forms a triangle (based on number of bars defined)

BUY
====
when fast ema > 200 ema
check for triangle of last N bars (default set to 9)

EXIT
======
when fast ema crosses down middle term ema

if price reaches above 5% of buy , it changes the color to purple. You can close any time or wait for above signal.


STOP LOSS
=======
stop loss default value set to 5%

Note: No triangle shown on the chart. I will find out how to add the lines to the chart.


Warning
=========
For the use of educational purposes only
Nota Keluaran
I have added Triangle drawings to the chart.

Also I have noticed that when position is taken LONG, mostly price reaches the half of the height of the Triangle. You can lock profits there or raise the stop loss ....

if the price goes south (downwards) half of the height of the triangle , you can wind up the position rather than waiting for defined 5% loss
Moving AveragestraingleTrend Analysistrendfollowingtrianglebreeak

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian