読み取り専用

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

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

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

ご参加ください Discord YouTube

Simple RSI algo

11件の返信

kom75

登録者、bbp_participant、コミュニティ、32件の返信。.

プロフィールを表示

9年前 #116434

こんにちは、,

 

I wan t to make simple algo where if position1 is opened I can open position2 and position3 IF rules allow it. For some reason position1 is closed at the open of next candle even if closing rule wasnt met. What did I wrong?

 

2nd question is how I can make monetary stop in this algo? Idea behind is risking same amount of money regardless of opened positions. If I risk 100 pips with first position, when I open 2nd one I want to risk same amount in monetary terms

 

Thanks for any help

ファイル RSI.sqw

0

Tomas Matejka

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

プロフィールを表示

9年前 #141927

こんにちは,

 

in your Exit condition you use “OR” which makes condition valid anytime RSI (2) is higher than 50. Try to replace it with “AND” and it should help

0

kom75

登録者、bbp_participant、コミュニティ、32件の返信。.

プロフィールを表示

9年前 #141932

Its exactly what I want. If I change to AND position will be closed if both condition will be met

0

kom75

登録者、bbp_participant、コミュニティ、32件の返信。.

プロフィールを表示

9年前 #141933

I should add that sometimes position is closed after 1-2 sec, definitely not because of RSI. Something wrong in the code and I cant find what

0

Tomas Matejka

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

プロフィールを表示

9年前 #141941

こんにちは,

 

it works for me as expected. Two trades worked normally while the third was closed “immediatelly” because of RSI exit condition

 

To use monetary stop you can use “Open P/L” function to monitor open loss and decide about exit

 

ファイル RSItest.jpgRSItest.jpg

0

kom75

登録者、bbp_participant、コミュニティ、32件の返信。.

プロフィールを表示

9年前 #141942

こんにちは、トーマス,

 

 

I checked again and now didnt closed first position but didnt opened 2nd and 3rd either. Never had such a problem with professional algos. I see its working on your platform, can be something wrong within mine?

 

to risk no more then $100 Open P/L should be =< 100?

 

ありがとう

0

kom75

登録者、bbp_participant、コミュニティ、32件の返信。.

プロフィールを表示

9年前 #141944

last question Tomas. Is it possible algo this algo close manual trades too? Algo opened first position and because it didnt opened 2nd and 3rd I did it manualy with fixed tp. Algo have closed all 3 positions together according to rules (rsi>50), but below fixed tp for manual trades

 

thanks for your reply

0

Tomas Matejka

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

プロフィールを表示

9年前 #141987

こんにちは,

 

do you get any error when testing? Look at the Journal

 

You should use IF Open P/L < -100 for losing trade detection

 

Manual trades have magic number 0 so you can manage them all as one group

0

kom75

登録者、bbp_participant、コミュニティ、32件の返信。.

プロフィールを表示

9年前 #142008

こんにちは,

Weird thing, in backtest everything is ok, but trading on demo or live it opening one trade only. I have money on acc, no number of opened positions restriction. Really dont understand

0

kom75

登録者、bbp_participant、コミュニティ、32件の返信。.

プロフィールを表示

9年前 #142011

Below 2 printscreens with actual positions

ファイル AUDUSD.jpgAUDUSD.jpg
ファイル EURUSD.jpgEURUSD.jpg

0

Tomas Matejka

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

プロフィールを表示

9年前 #142031

Have you looked into the terminal for possible error? What about lot size? Do you have correct value set for demo/live?

0

kom75

登録者、bbp_participant、コミュニティ、32件の返信。.

プロフィールを表示

9年前 #142033

Yes, I’ve checked all and everything seems to be correct. im bit lost because algo works in very erratic way. Same day I posted AUDUSD and EURUSD printscreen, GBPUSD was working fine having 3 positions opened. Anyway thanks Tomas for looking at the algo and I will still try to find a solution

0

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