JayDParticipant
Junior
A simple code just to label Ichimoku lines from weekly and monthly time frames on a Daily Time Frame
All the labels show up except for the SSB Monthly label. It is surely a stupid error that is staring at me but I can not see it.
If anyone could help it would be greatly appreciated.
Thank you.
// Write Kijun and SSB Weekly and Monthly Labels when using Daily Time Frame
DEFPARAM DRAWONLASTBARONLY=true
// Ichimoku Weekly
TIMEFRAME(Weekly)
KijunWeekly=KijunSen[9,26,52]
SSBWeekly =SenkouSpanB[9,26,52]
// Ichimoku Monthly
TIMEFRAME(Monthly)
KijunMonthly=KijunSen[9,26,52]
SSBMonthly =SenkouSpanB[9,26,52]
TIMEFRAME(Daily)
DRAWTEXT("Kijun W",barindex+2, KijunWeekly,SansSerif,Bold,12) COLOURED(0,0,255)
DRAWTEXT("SSB W",barindex+2, SSBWeekly,SansSerif,Bold,12) COLOURED(64,192,255)
DRAWTEXT("Kijun M",barindex+4, KijunMonthly,SansSerif,Bold,12) COLOURED(0,0,255)
DRAWTEXT("SSB M",barindex+2, SSBMonthly,SansSerif,Bold,12) COLOURED(64,192,255)
RETURN
Do you have enough units on your chart (3K to 5k)?
I moved the topic from the French forum.
Use the correct forum, please.
Thank you 🙂
JSParticipant
Senior
It is there but as Roberto says “use more units”…
JayDParticipant
Junior
Thank you Roberto and JS.
Increased the units to 1200 and it now shows up.