[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ...for programmers



PureBytes Links

Trading Reference Links

Hello Pastal,

This is inelegant but looks like it works with the 2 attached functions. You
need to load up the functions and call them in your system -

Vars: OKTOTRADE(False);

Condition1 =TradesToday(Date)=1;
Condition2 =ProfitToday>0;

if Condition1 =True and Condition2=True then OKTOTRADE= false
else OKTOTRADE =True;

if OKTOTRADE =true and {signal goes here} then buy at market;
if OKTOTRADE =true and {Signal goes here} then sell at market;


p> if the first operation/trade you do today is positive ( with the trailing
p> stop), do not enter anymore during the same day, otherwise ( else) go on
p> entering
p> }

-- 
Best regards,
 Michael                            mailto:michaelstewart@xxxxxxxxxxxxx

Attachment: Description: "TRADESTO.ELA"

Attachment: Description: "PROFITTO.ELA"