Skip to content

Instantly share code, notes, and snippets.

@sin32775
Created December 21, 2020 07:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sin32775/3af426e8dcba3252d2a19d70d49e8971 to your computer and use it in GitHub Desktop.
Save sin32775/3af426e8dcba3252d2a19d70d49e8971 to your computer and use it in GitHub Desktop.
#property copyright "Copyright 2020, Beleif Co., Ltd."
#property link "https://belief-hf.com/"
#property version "1.00"
#property indicator_chart_window
#property indicator_buffers 1
#property indicator_plots 1
#property indicator_type1 DRAW_LINE
#property indicator_color1 clrDeepPink
#property indicator_width1 2
#property indicator_style1 STYLE_DOT
input ENUM_MA_METHOD InpMAMethod=MODE_SMA;//移動平均線の種類
input ENUM_APPLIED_PRICE InpMAApply=PRICE_CLOSE;//適用価格
input int InpMaPeriod=20;//期間
double MABuffer[];
int hMA;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment