JMA-HMA-based Scalper (ps4)

This is an old compilation of mine suitable for scalping. To filter out the generated signals use Difference value between on the Settings menu.
發布通知: Just a small fix.
發布通知: 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.
發布通知: Added repaint and non-repaint selection to the Settings menu .
發布通知: 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.


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.
從常用腳本中移除 新增至常用腳本
Donate: PayPal (


UPD: the float Difference value must be between 0.0, ..., n. Try to use 0., 30., and 60.
it would be better if you describe a little about how to use your scripts will be helpful to all and specially the newbies,,,thank you
+1 回覆
capissimo abinash7
@abinash7, see a short description above
abinash7 capissimo
@capissimo, thnx for your neat description
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 如何運作 圖表功能 價格 推薦朋友 網站規則 幫助中心 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 部落格 & 新聞 推特
概覽 個人資料設定 賬戶和賬單 推薦朋友 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出