読み取り専用

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

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

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

ご参加ください Discord YouTube

Increase positionsize with every new bar

1件の返信

Jannik Behrens

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

プロフィールを表示

8年前 #217750

皆さん、こんにちは!

I just startet building EAs with EA Wizard and i want to transform some of my Strategies I wrote in ProCode.

The strategy: As long as the parameters give a long signal, it should open a new long order with every new bar.

So if the long signal is given from 9 – 10, I should end with 12 long positions (M5 Chart).

My Problem is the increasing of the positionsize. The first signal works and ends in a long order, but then nothing comes after it.

Do I have to make a own rule with own magic number for every step? Like one for the first position, one for the second, one for the third…

Thank you in advance and best regards!

0

Tomas Matejka

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

プロフィールを表示

8年前 #217757

こんにちは,

the problem could be a duplicate magic number. You cannot open another order having the same magic number.  Solution to this is to assign a variable for magic numbers. With each order opened you can assign magic = magic + 1 or you can use a randomly generated magic number (see example attached)

Let me know if you need any help with this

0

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