作者adbecf (丁仔.油威利)
看板Trading
标题Re: [问题] hts问题关於买卖讯号与颜色
时间Fri Jul 31 09:19:04 2009
※ 引述《adbecf (丁仔.油威利)》之铭言:
: ※ 引述《BossSB (小大)》之铭言:
: : 请问如何把两个买卖讯号结合?
: : 以及如何让这两个买卖讯号用颜色区别?
: : 谢谢
简单使用 GAIN
variables:gain(0)
gain=0
if xxxx and
xxxx then
gain=gain+1
end if
if gain=2 then buy next bar at market end if
--
ˊ──ˋ ︵▄▅▆▅▄ ▂▃▂
◣∕▂▃▂﹨◢ / ◣◣ ◢(( ))◣
◢\ ◥◥◥ /◣ ▕◥◤◤◤▋ ◢◥◥◤◣
|◥● ●◤︳ ▕◥● ●◤▏ ◤│● ●│◥
◣◥
_▼_◤
∕ ◥◥
_–_◤
◤ ▕◣_︸_◢▏
◥
 ̄▼◣◣ ◢
█▼█◣ ◢◥╱▼╲◤◣
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 125.231.129.218