読み取り専用

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

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

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

ご参加ください Discord YouTube

Trades opening with larger than specified spread

1件の返信

マイク・H.

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

プロフィールを表示

12年前 #112367

OK, I figured it out…   Change code to      sqConvertToPips (Ask – Bid) < 2.2     or     (Ask – Bid) < 0.00022

 

In the Wizard, it would be    sqConvertToPips Spread < 2.2

 

Example: Enter Long if one of the Conditions is       Spread < 2.2

 

Code shown as (Ask – Bid) < 2.2

 

but trades open regardless of the spread size…   What am I doing wrong ???

 

The Trading Desks are using 5 decimals…   DEMO accounts

 

In the Editor, I tried changing to (Ask – Bid) < 2      and      (Ask -Bid) < 2.0       and trades still open with larger spreads…

0

マーク・フリック

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

プロフィールを表示

12年前 #125392

こんにちは,

 

you can use it either as:

 

ConvertToPips(Spread) < 2.2

または 

Spread < ConvertToRealPips(2.2)

 

In any case it should work.

Have you considered that the spread might change since the action was triggered and your order was placed?

Also, there could be some slippage in order.

If you think it doesn’t work, try to change it from 2.2 to to 0.1 spread. Will it still take the trades?

If yes it would mean there is a bug, but I don’t think so, this is very simple comparison.

 

It doesn’t matter if broker is using 4 or 5 decimals, it is recognized automatically.

マーク
StrategyQuantアーキテクト

0

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