Ichimoku bulutu ve hareketli ortalamaya göre çalışan pine script kodu aşağıdadır.
//version=2 //strategy('Complete Ichimoku Trader *modified* - original by kingthies / mod by cryptomrdavis', shorttitle='Complete Ichimoku Trader *modified* - original by kingthies / mod by cryptomrdavis', overlay=true) study('Complete Ichimoku Trader *modified* - by cryptomrdavis -', shorttitle='Complete Ichimoku Trader *modified* - cryptomrdavis -', overlay=true)
sp = input(true, title="Welcome to the modified Version of the Complete Ichimoku Trader - original by @ethies. This version has some extra lines of code and gives you less signals as the original one.") haopen = open hahigh = high halow = low haclose = close heikUpColor() => haclose > haopen heikDownColor() => haclose <= haopen o = haopen c = haclose src = haclose price = haclose
//BUY & SELL buycond = (tk_cross_below_kumo or tk_cross_inside_kumo or tk_cross_above_kumo) and rising(pJ[1],1) and heikUpColor() and uptrend and v1 >= v2 and rising(myrsi,1) or (pk_cross_below_kumo or pk_cross_inside_kumo or pk_cross_above_kumo) and rising(pJ[1],1) and heikUpColor() and uptrend and v1 >= v2 and rising(myrsi,1) or (past_price_below_kumo or past_price_above_kumo or past_price_inside_kumo) and rising(pJ[1],1) and heikUpColor() and uptrend and v1 >= v2 and rising(myrsi,1) sellcond = (tk_cross_below_kumo or tk_cross_inside_kumo or tk_cross_above_kumo) and falling(pJ[1],1) and heikDownColor()and falling(myrsi,1) and downtrend or (pk_cross_below_kumo or pk_cross_inside_kumo or pk_cross_above_kumo) and falling(pJ[1],1) and heikDownColor() and falling(myrsi,1) and downtrend or (past_price_below_kumo or past_price_above_kumo or past_price_inside_kumo) and falling(pJ[1],1) and heikDownColor() and falling(myrsi,1) and downtrend
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.