読み取り専用

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

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

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

ご参加ください Discord YouTube

Trading Weekend Gaps

1件の返信

Nufty

Subscriber, bbp_participant, community, 15 replies.

プロフィールを表示

13年前 #111279

I like to trade these manually – but hate getting up early to do it

 

So I thought my first EA I try to code here will be this

 

And I failed at the starting gate!!

 

🙂

 

The strategy is simple

 

Have the EA check the value of Close on Friday night – check the value of the Open on Monday morning.  Subtract the Market Close from Market Open

 

If there is a negative difference – take a SHORT with a TP of the difference between the values and if positive a LONG with a TP of the difference

 

SL a fixed amount

 

 

I cant see how I calculate the difference of specific bars.

 

Any assistance is appreciated

 

乾杯

 

N

0

マーク・フリック

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

プロフィールを表示

13年前 #121932

こんにちは、,

 

it is relatively simple, you can use function Subtraction to find difference of Monday open and previous close.

 

I made a simple version of this strategy, I’m attaching it here.

 

マーク

ファイル WeeklyGaps.sqw

マーク
StrategyQuantアーキテクト

0

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