There you go
|
DEFPARAM CalculateOnLastBars = 2000 DEFPARAM DrawOnLastBarOnly = true Offset1 = 15 * pipsize Offset2 = Offset1 * 2 IF time = 163500 THEN ClosingPrice = close ENDIF IF time = 080000 THEN Percentage = 100 - ((close * 100) / ClosingPrice) MyBar = BarIndex MyPrice = high ENDIF DRAWTEXT("Price 16:35 #ClosingPrice#", MyBar, MyPrice + offset1) COLOURED(0,128,0,255) DRAWTEXT("Difference #Percentage#", MyBar, MyPrice + offset2) COLOURED(128,0,0,255) RETURN |
1 user thanked author for this post.