![見出し画像](https://assets.st-note.com/production/uploads/images/117966456/rectangle_large_type_2_c75e61af606d17d4158ee2283eec18ab.jpeg?width=800)
RSI
//<<<<<>>>>><<<<<>>>>><< RSI >><<<<<>>>>><<<<<>>>>>
input group "RSI"
input int RSI_tick = 14; //RSIのTick数
int RSI_Handle;
double RSI_Buf[];
OnInit()
RSI_Handle = iRSI(_Symbol,_Period,RSI_tick,PRICE_CLOSE);
OnTick()
//直近Tickの値から順に格納する
ArraySetAsSeries(RSI_Buf,true);
CopyBuffer(RSI_Handle,0,0,5,RSI_Buf);
Print(RSI_Buf[0]);
MQL5コード一覧はコチラ
この記事が気に入ったらサポートをしてみませんか?