BMT Moneymaker

Questions about MultiCharts and user contributed studies.
stefanols
Posts: 51
Joined: 01 Jan 2014
Has thanked: 14 times
Been thanked: 2 times

BMT Moneymaker

Postby stefanols » 01 Jul 2015

Hi,

I am trying to adopt this strategy and have almost succeeded.

https://www.bigmiketrading.com/multicha ... ategy.html


if (BarStatus(1) = 2) then begin

This is to make the bar go complete when entering the buy/sell order
condition8 = var0 crosses above oversold;
end;


What is lacking is that I would like it the sell/buytocover to execute on the same bar if possible.

I have added [IntrabarOrderGeneration = true]



if CurrentContracts = 3 then begin
Sell ("Exit l1-c3 Target") 1 Contracts Next Bar At (EntryPrice + t1) Limit;
Sell ("Exit l1-c3 Stop") 3 Contracts Next Bar At st1 Stop;
Sell ("Exit l2-c3 Target") 1 Contracts Next Bar At (EntryPrice + t2) Limit;
Sell ("Exit l2-c3 Stop") 1 Contracts Next Bar At st1 Stop;
Sell ("Exit l3-c3 Target") 1 Contracts Next Bar At (EntryPrice + t3) Limit;
Sell ("Exit l3-c3 Stop") 1 Contracts Next Bar At st1 Stop;

Hope someone can help.

BR Stefan
Attachments
BMT_Moneymaker.PNG
In this case all orders could have been executed on bar 1 or 2 instead of waiting next bar.
(8.64 KiB) Downloaded 336 times

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: BMT Moneymaker

Postby TJ » 01 Jul 2015

ps:
[FAQ] How to Post Codes (that people can read)
viewtopic.php?f=16&t=11713


ps: it will help if you post the complete code.


Return to “MultiCharts”