PDA

View Full Version : Tradesim/Metastock coding problem


SUTHERLAND
15th June 2006, 05:20 PM
I have just finished creating an indicator I would like to use as an entry trigger in Tradesim. The formula, however, is very long so I had to use variables to make it fit on the clipboard. My problem is when I put the variable in I get a complaint that it needs to be a constant or the name is not recognised. Without the variable my coding won't fit onto the clipboard .EG:
entrytrigger:=(var1:=mov(c,20,s);c>var1)
I'm still new at this stuff and would appreciate any help.
Thanks

Jose
16th June 2006, 09:03 AM
Try this:

Var1:=Mov(C,20,S);
EntryTrigger:=C>Var1;


jose '-)