読み取り専用

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

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

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

ご参加ください Discord YouTube

Trailing stop and enter when price closes above level

4件の返信

MMatch

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

プロフィールを表示

9年前 #116386

I have 2 questions:

 

1. How can I set the trailing stop to move when the price is X pips in profit. for example:

 

SL is 20 pips from entry

When Price moves 20 pips in profit

Move SL to BE

then when trade is 40 pips in profit, move trailingSL to +20

When trade is 60 pips in profit, move TrailingSL to +40pips

等. 

 

At the moment my EA moves every 1 pip?

 

 

2. If I use Ask > Variable, it will open a trade when the ask price is over the variable level. (tested in MT4 and works)

However, if I change it to Close(PERIOD_M15)[1] > Variable, it should:

 

Open a trade if the 15 minute candle closes above the variable price level? (tested in MT4 and it does not open any trades)

 

Both were tested in Daily TF on MT4

 

よろしくお願いいたします

0

Tomas Matejka

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

プロフィールを表示

9年前 #141771

こんにちは,

 

1) use simple trailing stop set to 20 (screenshot attached)

 

2) why don’t you trade it on 15 min chart instead of daily?

 

If I try Close(PERIOD_M15)[1] > Close(PERIOD_M15)[2] it works for me on a daily chart

0

MMatch

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

プロフィールを表示

9年前 #141795

こんにちは、トーマス。

 

1) It is still not working, the SL moves every 1 pip, not every 20 pips

 

2) This didn’t work but I have reprogrammed it to run on 15min TF

 

3) What is the formula to “run once a day” at say 00:05 broker time or PC time?

 

thanks in advance!

0

MMatch

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

プロフィールを表示

9年前 #141816

I think I have figured out how to run once a day

 

I have set it to run at 0 hours and 1 minute – please let me know if there is a better way.

 

Still looking for 1) – Trailing stop – is there a way to do it?

0

Tomas Matejka

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

プロフィールを表示

9年前 #141841

こんにちは,

 

this is an example how to use trailing steps. This could do what you need

ファイル TrailSteps.sqw

0

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