読み取り専用

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

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

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

ご参加ください Discord YouTube

how to create condition to close trade only when break even + X pips

5件の返信

smitty

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

プロフィールを表示

9年前 #117773

i am looking for something simple but am new so could not figure out how to do this.

 

I want to close an open trade based on an indictor reaching a certain level. I can figure out that part but I only want the trade to close IF the trade is break even PLUS X pips.

 

I already have the indicator part done, I have it closing when the indicator reaches the level that I want, but there are other situations where it the indictor is not going to close the trade because the time has expired and now I want the trade to close, but only if it is break even. but of course with swaps and commissions I need to add some more to it to make sure it is not closing at loss. so I need the trade to be either break even plus X pips or I need to specify the actual profit in pips for the open trade.

 

how can I do that? 

 

ありがとう

 

smitty

0

Tomas Matejka

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

プロフィールを表示

9年前 #144763

こんにちは,

 

ok, I will prepare the example EA for this

0

smitty

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

プロフィールを表示

9年前 #144792

ありがとう 

 

also my time filter is not working but i cannot see why anywhere online or any other examples of how to do it?    

 

if bid crosses below BB band (20,0,2)

そして 

(( timecurrent > get time(1,0,0)

そして

time current < get time(4,59,59)    )

または

(timecurrent > gettone(17,0,0)

そして

time current<gettime(23,59,0)   ))

0

smitty

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

プロフィールを表示

9年前 #144811

i have solved the time issues. but still don’t have a way to create a break even PLUS 

0

Tomas Matejka

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

プロフィールを表示

9年前 #144812

Ok, will make an example on this and post

0

Tomas Matejka

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

プロフィールを表示

9年前 #144848

こんにちは,

 

you can setup breakeven + x pips as shown in the sample attached. Let me know if any questions

ファイル BEaddPips.sqw

0

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