読み取り専用

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

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

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

ご参加ください Discord YouTube

Pip Value Function

1件の返信

hmabdellah

Customer、bbp_participant、community、sq-ultimate、返信8件。.

プロフィールを表示

1年前 #287853

 

こんにちは,

 

I’m trying to calculate the lot size in my EA using the formula:

Position Size = Account Balance x Risk percent x 0.01 / (Stop loss in pips x pip value)

I have no issue setting this up, however, I’m stuck with the pip value piece.

Is there a way to automatically get the pip value and assign it to a variable? a custom code maybe? instead of entering the pip value manually as an input whenever the EA is attached to a different pair.

 

ありがとう

Sam

 

0

tomas262

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

プロフィールを表示

1年前 #287927

You could use this to get pip value ($$$)
MarketInfo(Symbol(), MODE_LOTSIZE) * Point

It basically multiples the smallest price increment by the contract size. You will get monetary value of the smallest market move.
For forex pairs, “pip value” is 10 times the point value (above)

0

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