読み取り専用

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

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

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

ご参加ください Discord YouTube

ポジションの追加

4件の返信

daveM

サブスクライバー、bbp_participant、コミュニティ、カスタマー、sq-ultimate、108件の返信.

プロフィールを表示

11年前 #114388

I would like to add a position if the price has moved a certain number of pips from the last order.

 

いくつか質問があります。.

 

How do I determine the price of the last active order, eg say there are two or three active orders, I would need a new reference point for each one or count from the original order.

 

Would I need a new rule for each additional order?

 

Can someone clarify this a bit, please

 

ありがとう

 

daveM

0

Tomas Matejka

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

プロフィールを表示

11年前 #133759

If you only need to get price of last order you can create variable “lastOrderPrice” and set it to the value of:

  • bar close if you use market order
  • If you use stop/limit order set it stop/limit price

on every entry signal created by your EA.

Otherwise you would have to save and use different magic numbers for each individual order to control them all. This can be quite complicated if you use large amount of orders.

0

daveM

サブスクライバー、bbp_participant、コミュニティ、カスタマー、sq-ultimate、108件の返信.

プロフィールを表示

11年前 #133764

Thanks tomas.

 

I used the variable and got it to work well.

 

daveM

0

Rocksolidfx

サブスクライバー、bpb_participant、コミュニティ、39件の回答。.

プロフィールを表示

10年前 #137563

please explain i’m new to coding.. I just wish to add to a simple moving average example given if condition are true. kindly what is the code for this. Thank you 

0

Tomas Matejka

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

プロフィールを表示

10年前 #137686

please explain i’m new to coding.. I just wish to add to a simple moving average example given if condition are true. kindly what is the code for this. Thank you 

 

Hello, can you describe in more details what you want it to do? I can do an example then

0

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