Breakout Strategy

Questions about MultiCharts and user contributed studies.
Posts: 7
Joined: 03 Jan 2012
Has thanked: 2 times

Breakout Strategy

Postby jsramek » 23 Feb 2012

Im trying to tie the breakout strategy to a certain time of day to be automatically placed , does anyone have any guidance on where this code can be found or have any quick code to generate an OCO order at X amount of ticks above and below the market?

User avatar
Henry MultiСharts
Posts: 8479
Joined: 25 Aug 2011
Has thanked: 1211 times
Been thanked: 2719 times

Re: Breakout Strategy

Postby Henry MultiСharts » 28 Feb 2012

Hello Jsramek,

Here is an example for you

Code: Select all

if Time>1015 and time<1025 then begin;
buy next bar at close + 5 point stop;

This code will place a buy stop order at close price +5 points if the time is between 1015 and 1025.

You can find useful information about coding on the Power Language at this web page under Additional information sources: ... mentation/
Multicharts help file also has information about code words.
You can find it by clicking on the Help tab-> MC Help file in the main window of Multicharts
or at this page under PowerLanguage Keyword Reference section: ... /Main_Page

Return to “MultiCharts”