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 = ""; // ===== …

✔ 勝率・総損益表示 ✔ 稼働時間:日本時間 08:00〜04:00 ✔ 1時間足MAが強いトレンド時は逆張り禁止 ✔ 損切後「5本待ち」 ✔ RSI 30 / 70 ブレイク時のみエントリー

#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…

エントリー→決済→勝敗表示」まで全部入った MQL4フルコード

#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_…

ちょうどいい高値安値のZIGZAGコード公開

#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(…