If anyone could help me, I would be most gracious. There are only a few lines of code. I would be willing to pay a small stipend of say $50 assuming it works. I could pay you thru paypal or some other means if you accept credit cards.
input: numtrades (1), StopTicks (21);
inputs: addcontractamt (20000);
var: CurrentCapital(0), Amt(0);
CurrentCapital = GetBDAccountEquity(GetAccountID);
Amt = IntPortion ( CurrentCapital / AddContractAmt );
If amt > 150 then amt = 150;
If CurrentCapital < 2000 then amt = 1;
//amt=1;
Condition1 = Dayofweek(date) < 5;
If Condition1 and entriestoday (date) < numtrades and Open > CloseD(1) then
buy ("NEMO Long")amt contracts this bar;
If Condition1 and entriestoday (date) < numtrades and open < CloseD(1) then
sellshort ("NEMO Short" ) amt contracts this bar;
setstopcontract;
setexitonclose;
setstoploss( StopTicks * MinMove / PriceScale * BigPointValue );
Comment