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

Code for daily testing intraday data



PureBytes Links

Trading Reference Links

Hi,

This is the code I promised, I also have a CC  to the list. This code will
cause only one entry per day, this is for using intraday data with daily
signals in data2. This code verifies, and works.

If entries today greater than  0 then it bypasses the system if you want
more that one entry per day increase this value accordingly. The system will
run once through with EntriesToday = 0 then after that during the same day
it places no further orders.

<<<Start Easy Langauage code>>>

Variable: CloseCompare(False),EntryOK(FALSE);
Inputs: Length1(1),Length2(2){,Date0(NumericSimple)};

CloseCompare = Close[Length1] of data2 > Close[Length2] of data2;

EntryOK =  (EntriesToday(Date[0]) = 0);

If CloseCompare = True		and	EntryOK = True	then	BUY 	at 	Close;
If CloseCompare = False	and	EntryOK = True	then	SELL	at	Close;


Any comments or questions please contact John Meinecke at johnm@xxxxxxxxxxx
Incidentally I have been using Neural Networks for many years, that is what
this code was developed for.

--- Disclaimer ---
This is not a complete trading system, please realize that and enjoy.