Skip to content

Instantly share code, notes, and snippets.

@sin32775
Created December 21, 2020 12:02
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/2d721a7a7f2844836d9163086c4fc6cc to your computer and use it in GitHub Desktop.
Save sin32775/2d721a7a7f2844836d9163086c4fc6cc to your computer and use it in GitHub Desktop.
#property indicator_separate_window
#property indicator_buffers 2
#property indicator_plots 2
#property indicator_type1 DRAW_LINE
#property indicator_color1 clrDodgerBlue
#property indicator_width1 2
#property indicator_style1 STYLE_SOLID
#property indicator_type2 DRAW_LINE
#property indicator_color2 clrGreen
#property indicator_width2 2
#property indicator_style2 STYLE_SOLID
input int RSI_Period=14; //RSI期間
input int MA_Period=9; //移動平均線の期間
input ENUM_MA_METHOD InpMAMethod=MODE_SMA; // 平滑化の方法
input ENUM_APPLIED_PRICE InpMAApply=PRICE_CLOSE;//適用価格
double RSI_Buffer[];
double MA_Buffer[];
int hRSI;
int hRSIMA;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment