読み取り専用

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

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

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

ご参加ください Discord YouTube

SQ疑似説明のヘルプが必要

2件の返信

gentmat

顧客、bpb_participant、コミュニティ、234件の回答。.

プロフィールを表示

10年前 #115244

Below is one strategy Generated by SQ3, I always wonder the following:
 
== 入会条件
LongEntryCondition = (TEMA(55) Crosses Below SMA(263))
ShortEntryCondition = (TEMA(55) Crosses Above SMA(263))
 
 
So basically the ea Buy if Tema Crosses Below SMA  And Sell if the opostite condition is met.
 
But then you go down to Entry Condition (Specific) 
The buy condition is different 
 
もし LongEntryConditionが true なら
   if No position is open then Buy at TEMA(53) + (0.3 * ATR(155)) Stop;
   Stop/Limit order expires after 35 bars.
 
   Stop Loss = 190 pips;
}
 
 
SO which one SQ is using the first one ? which is SMA and Tema 
Or
Tema And ATR 
 
 
 
 
Full Pseudo : 
 
 
——————————————————————–
Pseudo Source Code of Strategy 0.119088
  with parameter names.
 
  Generated by StrategyQuant version 3.8.1
  Generated at Wed Jun 15 09:46:00 GMT 2016
                                                          
  Tested on EURUSD, H1, 04.11.2003 – 29.03.2013
  Spread: 1.0, Slippage: 1.0, Min distance of stop from price: 5.0
——————————————————————–
====================================================================
== 入会条件
==================================================================== 
LongEntryCondition = (TEMA(55) Crosses Below SMA(263))
ShortEntryCondition = (TEMA(55) Crosses Above SMA(263))
 
 
====================================================================
== 入札命令
====================================================================
— 長いエントリ
もし LongEntryConditionが true なら
   if No position is open then Buy at TEMA(53) + (0.3 * ATR(155)) Stop;
   Stop/Limit order expires after 35 bars.
 
   Stop Loss = 190 pips;
}
 
— ショートエントリー
もし ShortEntryConditionが true なら
   if No position is open then Sell at TEMA(53) + (-0.3 * ATR(155)) Stop;
   Stop/Limit order expires after 35 bars.
 
   Stop Loss = 190 pips;
}
 
====================================================================
== Exit orders
====================================================================
— Long exit
if MarketPosition is Long {
   if (EMA(200) Crosses Below SMA(23)) {
      Close position at market;
   }
}
 
— Short exit
if MarketPosition is Short {
   if (EMA(200) Crosses Above SMA(23)) {
      Close position at market;
   }
}
 
 

0

マイキー

顧客、bbp_participant、コミュニティ、856件の返信。.

プロフィールを表示

10年前 #137771

It is because the strategy is using pending orders, rather than market orders.

 

The first entry conditions determine whether to create a buy or sell stop.  They are simply a yes/no:

LongEntryCondition = (TEMA(55) Crosses Below SMA(263))

ShortEntryCondition = (TEMA(55) Crosses Above SMA(263))
 
If any one of them is true, the next logic is at what price to place the pending order:
 
if LongEntryCondition is true {

   if No position is open then Buy at TEMA(53) + (0.3 * ATR(155)) Stop;
   Stop/Limit order expires after 35 bars.


   Stop Loss = 190 pips;
}

So, here the price is determined by the result of TEMA(53) + (0.3 * ATR(155))

 

There is an expiry of 35 bars, so if the order is not hit (the market price does not activate this pending order), it is deleted after 35 bars have elapsed.

 

 

 
 

0

gentmat

顧客、bpb_participant、コミュニティ、234件の回答。.

プロフィールを表示

10年前 #137790

Okay Got it ! Thanks a lot mikeyC

 

BTW from 1 day i made a shoutout in a post for you 😛 i was surprised you did show up as you always do.

0

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