読み取り専用

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

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

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

ご参加ください Discord YouTube

How to Trade in a Specified Timeframe

12件の返信

toddone46

カスタマー、bbp_participant、コミュニティ、76件の返信。.

プロフィールを表示

11年前 #113511

I have tried all the “Time” settings I can think of, read the manual, searched the forum, and looked at other EAs on times but I can’t get my developed EA to trade in a specific timeframe.  Can someone tell me what exact parameters I need to enter to trade, for example, only in the timeframe of 06:00 – 12:00?  Everything I’ve tried doesn’t work.

 

ありがとう、,

トッド

0

クリクリ

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

プロフィールを表示

11年前 #129488

Hi Todd,

 

add in your trading rules.

 

Hour >=6 and Hour <12

 

I use this conditions in my EA and it’s work !!

 

best regards.

 

クリス

0

toddone46

カスタマー、bbp_participant、コミュニティ、76件の返信。.

プロフィールを表示

11年前 #129489

Hi Todd,

 

add in your trading rules.

 

Hour >=6 and Hour <12

 

I use this conditions in my EA and it’s work !!

 

best regards.

 

クリス

 

Thanks Krikri, I tried that one already and it doesn’t work.  It might have something to do with the fact I’m using custom indicators.  I notice sometimes the EA won’t adhere to parameters I set around these indicators sometimes.  Bummer.

0

toddone46

カスタマー、bbp_participant、コミュニティ、76件の返信。.

プロフィールを表示

11年前 #129512

Just to update, using this method does work when making an EA from scratch without the custom indicator I was using originally.  For some reason when I use that custom indicator it does not recognize the timeframe constraint I place on it.

0

マーク・フリック

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

プロフィールを表示

11年前 #129542

it shouldn’t depend on custom indicators use – if you have condition that rule is not active in some range then it will not trade.

 

Isn’t the problem that you use OR in your rules and don’t have proper brackets?

 

We would be wiser if you’ll post your strategy here.

マーク
StrategyQuantアーキテクト

0

クリクリ

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

プロフィールを表示

11年前 #129559

マークさん、こんにちは,

 

how use function “TIME”

 

if TIME=9:15 OR TIME=9.15 or other ?

 

what is the difference with TimeCurent ? If I want EA start at 9:15 am stop à 17:30 pm what is the best soultion ?

 

お礼申し上げます

 

クリス

0

toddone46

カスタマー、bbp_participant、コミュニティ、76件の返信。.

プロフィールを表示

11年前 #129566

it shouldn’t depend on custom indicators use – if you have condition that rule is not active in some range then it will not trade.

 

Isn’t the problem that you use OR in your rules and don’t have proper brackets?

 

We would be wiser if you’ll post your strategy here.

 

When I went into MT4 to test the strategy with a timeframe set to trade so I could post it here, I cleared the history folder and downloaded new history data.  When I did that, the EA works perfectly now and trades within the timeframe assigned.  So it was a data issue with MT4 it looks like.

0

クリクリ

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

プロフィールを表示

11年前 #129573

マークさん、こんにちは,

 

how use function “TIME”

 

if TIME=9:15 OR TIME=9.15 or other ?

 

what is the difference with TimeCurent ? If I want EA start at 9:15 am stop à 17:30 pm what is the best soultion ?

 

お礼申し上げます

 

クリス

0

Tomas Matejka

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

プロフィールを表示

11年前 #130178

Hi Krikri,

 

you can use following rules to get it working as you need – enter the market within specific time range. See the screenshot below. TimeCurrent is time of the last trading activity while 時間 returns “timestamps” of a bar x bars ago

0

クリクリ

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

プロフィールを表示

11年前 #130199

Hi Thomas262 ,

 

ありがとうございます

 

ok how can I use getTime with variable

 

GetTime(H,M,S)  is it work ?

 

クリス

0

Tomas Matejka

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

プロフィールを表示

11年前 #130202

If you want to use variable instead of fixed values for H:M:S you have to create a new variable under Strategy tab – Strategy Parameter using Add new button. Call it “hour” for example and set it to “int” and give it value 9.

 

Then within the rule creation dialog instead of typing “9”, select your new variable “hour”

 

You do it the same for minutes and seconds.

 

I have attached example for you

0

クリクリ

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

プロフィールを表示

11年前 #130203

Thank you very much Thomas262.

 

お礼申し上げます

 

クリス

0

daveM

サブスクライバー、bbp_participant、コミュニティ、カスタマー、sq-ultimate、108件の返信.

プロフィールを表示

11年前 #133709

I used this approach and it seems to be working well.

 

ありがとう

 

 

Hi Krikri,

 

you can use following rules to get it working as you need – enter the market within specific time range. See the screenshot below. TimeCurrent is time of the last trading activity while 時間 returns “timestamps” of a bar x bars ago

0

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