//+------------------------------------------------------------------+ //| Sample Comment | //| DC | //| http://jidoubaibai.com/ | //+------------------------------------------------------------------+ #property copyright "DC" #property link "http://jidoubaibai.com/" //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| expert deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ int start() { double nowRSI,oldRSI; nowRSI = iRSI(NULL,0,14,PRICE_CLOSE,0); oldRSI = iRSI(NULL,0,14,PRICE_CLOSE,1); //"\n"で改行することが出来ます。 Comment("現在のRSIの数値は",nowRSI,"です。","\n", "一つ前のRSIの数値は",oldRSI,"です"); return(0); } //+------------------------------------------------------------------+