Search found 3 matches

by ameoba
08 Feb 2014
Forum: MultiCharts
Topic: print messages on chart when market position change [SOLVED]
Replies: 4
Views: 1502

Re: print messages on chart when market position change [SOLVED]

Thanks, I have got it fixed. Here is the code: plot exit time on the chart when a long position was flatten variables: IntrabarPersist MP(0), IntrabarPersist LastMP(0); MP = I_MarketPosition; if MP < LastMP then begin Value1 = Text_New(Date, ExitTime(1), High, NumToStr(ExitTime(1),0)); end; LastMP =...
by ameoba
08 Feb 2014
Forum: MultiCharts
Topic: print messages on chart when market position change [SOLVED]
Replies: 4
Views: 1502

Re: print messages on chart when market position change [SOLVED]

thanks JoshM, but don't know why it have the message printed twice and triggered when there is no trade. Here is my code and the result attached. variables: IntrabarPersist MP(0), IntrabarPersist LastMP(0); if date = 1140129 and time = 1309 then begin buy ("trade1-buy") next bar on open; end; if dat...
by ameoba
08 Feb 2014
Forum: MultiCharts
Topic: print messages on chart when market position change [SOLVED]
Replies: 4
Views: 1502

print messages on chart when market position change [SOLVED]

Does any one know which command to use if I want to print message on chart when market position have been changed? for example, from a long position to flat.

thanks for helping.

Go to advanced search