2026-05-23から1日間の記事一覧
#property indicator_chart_window // ===== パラメータ ===== input int BB_Period = 20; input double BB_Dev = 2.5; input int RSI_Period = 14; // ===== 状態 ===== int position = 0; double entry_price = 0; string current_pattern = ""; // ===== …
#property indicator_chart_window // ===== パラメータ ===== input int BB_Period = 20; input double BB_Dev = 2.5; input int RSI_Period = 14; input int WaitBars = 5; // ===== 状態 ===== int position = 0; double entry_price = 0; int wait_count…
#property indicator_chart_window // ---- パラメータ ---- input int BB_Period = 20; input double BB_Dev = 2.0; input int MA_Period = 20; input int ArrowGap = 5; // ---- 状態管理 ---- int position = 0; // 1=buy, -1=sell, 0=none double entry_…
#property indicator_chart_window #property indicator_buffers 1 #property indicator_color1 Red double ZigZagBuffer; int depth = 20; double deviation = 3.0; int OnInit() { SetIndexBuffer(0, ZigZagBuffer); SetIndexStyle(0, DRAW_LINE); return(…