OPEN-SOURCE SCRIPT

JMA-HMA-based Scalper (ps4)

Diupdate
This is an old compilation of mine suitable for scalping. To filter out the generated signals use Difference value between [x, ..., 30, ..., 60, ..., y] on the Settings menu.
Catatan Rilis
Just a small fix.
Catatan Rilis
Added a short description of the code follows.
The logic of the script is confined within the lines 45 through 57. Lines 46 and 47 define an upper and a lower bands as well a direction of the current trend. Lines 49..55 define boolean terms for the long and short conditions.
The bothup and bothdown variables indicate if the direction of the bands coincides. The presqueeze variable tries to identify if the bands converge, and the widen variable does the opposite. The diff, prev and curr variables are obvious - they hold the difference value, the previous and the current values of the times series in question.
Catatan Rilis
Added repaint and non-repaint selection to the Settings menu .
Catatan Rilis
Added Statement of Purpose

I am an advocate of open source and against those who publish their code with a lock icon. My code and ideas are aimd at people with critical thinking, who are able to take an informative and responsible decision when it comes to investing their funds. I do not guarantee that all of my ideas will perform well. As usual, they require a certain degree of your sound judgment. My final aim is to provide you with coding techniques that you could use in your own scripts and strategies.

DISCLAIMER:

The Following indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.

The embedded code and ideas within this work are FREELY AND PUBLICLY available on the Web for NON LUCRATIVE ACTIVITIES and must remain as is.
HMAJMAMoving AveragesscalpingTrend AnalysisVolatility

Skrip open-source

Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menerbitkannya sebagai sumber terbuka, sehingga para trader dapat memahami dan memverifikasinya. Hormat untuk penulisnya! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Inggin menggunakan skrip ini pada chart?

Pernyataan Penyangkalan