RedeeCash 4XLOTS
- ライブラリ
- Patrick Odonnell Ingle
- バージョン: 1.0
- アクティベーション: 10
RedeeCash 4XLOTS ライブラリは、4xlots.com WEB API アルゴリズムに基づくローカライズされたリスク管理ライブラリです。このリスク管理アルゴリズムは、クイック ロット サイズの方程式のように、通貨に依存しません。
ロット = AccountEquity / 10000
これは、100 ドルのアカウント エクイティごとに 0.01 ロットになります。
RedeeCash 4XLOTS ライブラリは、手動計算として 2011 年に最初に開発された、より詳細で拡張されたアルゴリズムを使用します。
RedeeCash 4XLOTS には、LotsOptimize という関数が 1 つあります。次の RedeeCash_4XLOTS.mqh ファイルをコピーしてプロジェクトに含めます。
//+------------------------------------------------------------------+ //| RedeeCash_4XLOTS.mqh | //| Copyright 2011-2022, PressPage Entertainment Inc DBA RedeeCash | //| https://4xlots.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2011-2022, PressPage Entertainment Inc DBA RedeeCash" #property link "https://4xlots.com" #property strict //+------------------------------------------------------------------+ //| defines | //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ //| DLL imports | //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ //| EX4 imports | //+------------------------------------------------------------------+ #import "Market/RedeeCash_4XLOTS.ex4" double LotsOptimize(double deposit,int preserve); #import //+------------------------------------------------------------------+
ライブラリを使用するには、上記の MQH 参照をプロジェクト ファイルに含め、2 つのパラメーター (アカウントの総預金額と、計算で金額を減らすことによって預金を保持するかどうかのブール値フラグ) を渡します。
アカウントの最小ロットサイズと最大ロットサイズの間の最適なロットサイズが返されます。
以下のビデオでは Web API について説明していますが、このバージョンでは、外部 API 呼び出しを必要とせずに、ライブラリに埋め込まれた同じアルゴリズムを使用しています。さらに重要なことに、Priscilla は、利益を最大化しながらリスクを最小化するために、トレーディング アルゴリズムにスケーラブルなリスク管理アルゴリズムを実装することの重要性について語っています。
リスク警告:
ドローダウンはアカウント残高の 50% を超える可能性があります。