PDA

View Full Version : initialize function negation and "internal variables&qu


gawdib
29th December 2003, 12:56 AM
I need to be sure of what the initialize function does to the formula instructions. I think this is what is being said, but I am not sure what is referred to by "Internal variables" bacause at my beginner stage everything presented seems like a variable. Is there a listing of which are "internal variables" and which "external variables".
the entrytigger, is that an internal or external or other type of variable?

Thus, if i place the ExtFml(“TradeSim.Initialize”); just before the

ExtFml(“TradeSim.RecordTrades”,,,,,,,,,);
then I am cancelling out ALL previous coded instructions other than the 5 basic ones? ie the
EntryTrigger:=ExtFml("TradeSim.Rand")<0.1; EntryPrice:=CLOSE; ExitTrigger:= Cross(Mov(MACD(),9,E),MACD()); ExitPrice:=CLOSE; InitialStop:=0;

Or does it negate just certain ones?
thank you, regards, geoffrey

David Samborsky
29th December 2003, 01:10 PM
No it won't negate the RecordTrade parameters, rather it resets intenal variables which effect the behaviour of the RecordTrades function.

For default operation of the Initialize function please refer to the function descriptions on pages 62-70 of V3.0.0 of the TradeSim User Manual