Breakout Strategy
Breakout Strategy
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?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Breakout Strategy
Hello Jsramek,
Here is an example for you
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:
https://www.multicharts.com/multicharts ... 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:
https://www.multicharts.com/trading-sof ... /Main_Page
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;
end;
You can find useful information about coding on the Power Language at this web page under Additional information sources:
https://www.multicharts.com/multicharts ... 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:
https://www.multicharts.com/trading-sof ... /Main_Page