読み取り専用

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

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

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

ご参加ください Discord YouTube

3 EMA cross , is it possible ? (SQW File included)

8件の返信

タワダ

サブスクライバー、bpb_participant、コミュニティ、course_strategyquant-x-course、回答数 92件。.

プロフィールを表示

11年前 #113081

hello everyone , last week i’ve tried to turn this strategy into indicator http://www.forexstrategiesresources.com/trend-following-forex-strategies/1-forex-profit-system/

 

but i don’t understand why my indicator missed a lot of the trades 

 

see here : 

 

LsbgjpA.png

 

it does generate signals , but not all of the signals 

 

how to make an indicator based on that strategy 

 

i’ve attached the .SQW file , can anyone modifies the file to help me to understand the process ?

 

and finally , can someone help me here too ? https://strategyquant.com/forum/topic/2553-buy-and-sell-depending-on-custom-indicator-signals/

 

thanks for such a great software 

ファイル 3 EMA Cross.sqw

0

マーク・フリック

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

プロフィールを表示

11年前 #128249

There’s one logical error – in your rules the signal is valid only if EMA(10) crosses above EMA(25) and at the same time  EMA(10) crosses above EMA(50). 

 

You have to realize that crossing means exactly that one line crosses the other. It is only rarely that these conditions are true at the same bar.

 

Your condition will be not valid of for example  EMA(10) crosses above EMA(25), and then 1-2 bars later  EMA(10) crosses above EMA(50).

I’d rewrite it like this:

もし

 EMA(10) > EMA(25)

そして

 EMA(10) crosses above EMA(50)

それから

…

 

 

EMA(25) is faster than EMA(50) so the first cross should always happen before the second one.

So you can only check if the cross already happened in the past.

マーク
StrategyQuantアーキテクト

0

マティー

カスタマー、bbp_participant、コミュニティ、sq-ultimate、102件の返信。.

プロフィールを表示

11年前 #128273

May be just look for when the following hits minimum?

 

SQRT(  (EMA10-EMA25)**2  +  (EMA25-EMA50)**2  +  (EMA50-EMA10)**2  )

0

マーク・フリック

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

プロフィールを表示

11年前 #128286

that’s some advanced math there, I don’t follow it, but it could work 🙂

マーク
StrategyQuantアーキテクト

0

タワダ

サブスクライバー、bpb_participant、コミュニティ、course_strategyquant-x-course、回答数 92件。.

プロフィールを表示

11年前 #128527

oh my god , im just in love with this program day after day <3  😆

 

 

now how to checkout the last CLOSED position type ?

 

 

so my EA will only sell and after that will only look for buy  :unsure:

0

マーク・フリック

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

プロフィールを表示

11年前 #128554

this is simple 🙂

 

Strategy Control: Last Order was Long / Short

マーク
StrategyQuantアーキテクト

0

タワダ

サブスクライバー、bpb_participant、コミュニティ、course_strategyquant-x-course、回答数 92件。.

プロフィールを表示

11年前 #128587

this is simple 🙂

 

Strategy Control: Last Order was Long / Short

but the program says (returns the type of last active (not pending) order)

 

so this will return the last active order not the last 閉鎖 order as i wanted

0

タワダ

サブスクライバー、bpb_participant、コミュニティ、course_strategyquant-x-course、回答数 92件。.

プロフィールを表示

11年前 #128594

^ any answers ?  🙁

0

マーク・フリック

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

プロフィールを表示

11年前 #128829

Last Order returns the type of last finished order.

 

I assume you don’t want to check type of last pending order that was never triggered and canceled.

マーク
StrategyQuantアーキテクト

0

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