找回密碼
 註冊
搜索
查看: 2007|回復: 1

請教, 如何設AM的條件給PM交易

[複製鏈接]
發表於 16-2-2 00:53 | 顯示全部樓層 |閱讀模式
我的意思是:
if 在早上index會xxx, then 在下午buy 1 share at market;

不知道表達得好不好
發表於 16-2-2 09:08 | 顯示全部樓層

if t < 1200 then Condition1 = index_xxx > 50 ;
if t > 1200 and Condition1 then Buy next bar .....;

或是
if t < 1200 then Value1 =  index_xxx ;
if t > 1200 and Value1 > 50 then buy .... ;
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|站長信箱|廣告洽詢|COCO研究院

GMT+8, 25-9-10 20:55

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回復 返回頂部 返回列表