BarSize Strategy

Strategies are published here.

Moderator: admin

BarSize Strategy

Postby moomoofx » Wed Jan 22, 2014 7:02 am

A simple momentum strategy that enters depending on the size of the bar just closed. Requested by Rose123 on viewtopic.php?f=27&t=60224&p=92175

BarSize.png


Works on any instrument, any timeframe except ticks.

A time range can be specified for you to control when the strategy is operational. Times are in EST (NY Time).

The strategy places market orders.

The requester didn't specify exit conditions so standard stops and limit support has been implemented along with closing of opposite signals if required, or close on weekend. All functionality is configurable.

Entry pips parameter is provided, must be specified in pips.

Also contains functionality to control the amount of open positions.

Enjoy,
MooMooFX.

The Strategy was revised and updated on December 11, 2018.
Attachments
BarSize.lua
(17.53 KiB) Downloaded 849 times
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: BarSize Strategy

Postby rose123 » Thu Jan 23, 2014 2:07 am

thank you moomoofx
User avatar
rose123
FXCodeBase: Initiate
 
Posts: 142
Joined: Mon Oct 17, 2011 6:01 am


Re: BarSize Strategy

Postby Gambit » Mon Dec 06, 2021 7:51 am

Hi

I downloaded this EA to test but it dosen´t compile as there are certain errors in it.
You can see in the picture description what´s wrong.

Thanks in advance
Attachments
Skärmbild 2021-12-06 134817.png
Gambit
 
Posts: 4
Joined: Mon Dec 06, 2021 6:20 am

Re: BarSize Strategy

Postby Apprentice » Fri Dec 10, 2021 7:24 am

This is NOT MT4 EA.
Will only work as Strategy on FXCM TS2 trading station.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36494
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 104 guests