読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

Multiple simultaneous Long entries

1件の返信

kagein

購読者、bbp_participant、コミュニティ、1 件の返信。.

プロフィールを表示

9年前 #116567

Im trying to create an EA that buys a product on the same day every week. At the moment the code i use only one entry occurs. How would i change it so it will buy every day/week i.e. multiple entires in the same product.

 

ありがとう

 

pseudo code below.

 

===================================================================

==== Trading Rules
====================================================================
==== Rule: Rule 1 ====
if (Bar Just Opened
   and (Bar Day of Week = 1))
{
    // アクション #1
    マーケットでロング注文を開設する;;
    
       StopLoss = ConvertToPips(“Current”, Close()[1]) pips;
 
}
 
 

0

Tomas Matejka

管理者、sq-ultimate、2件の返信.

プロフィールを表示

9年前 #142352

こんにちは,

 

find the example attached. The EA trades each Monday 1 trade per day

ファイル tradeEachWeek.sqw

0

1件の返信を表示中 - 1 - 1件目 (全1件中)