hts問題關於買賣訊號與顏色 - 財經

Table of Contents

※ 引述《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

--
ˊ──ˋ ▅▆▅▄ ▂▃▂
▂▃▂ (( ))
\ /◣ ◤◤ ◥◤
|● ●◤● ●● ●
__ __ __
 ̄▼

--

All Comments