Search found 2 matches

by alex625144
03 Oct 2012
Forum: MultiCharts .NET
Topic: pattern [SOLVED]
Replies: 3
Views: 2704

Re: pattern [SOLVED]

I want backtest next strategy:
if (close[-1]>close[-2]<close[-3]<close[-4])
buy at market
sell through one bar


I looked at all the examples of strategies in the standard library, but such is not found. Or please specify the name of such a strategy in the standard library.
Thank you.
by alex625144
02 Oct 2012
Forum: MultiCharts .NET
Topic: pattern [SOLVED]
Replies: 3
Views: 2704

pattern [SOLVED]

Hi.
Please tell me how to write a sample code to test the patterns strategy in mc.net

Example
if(Bars.Close[0]<Bars.Close[1] && Bars.Close[1]<Bars.Close[2])
m_Order0.Send

Thank you.

Go to advanced search