System Based Trading

U

uasish

Guest
#21
i cant fig it out ,i was also skeptical,let me identify,in the mean time any idea where i could have gone wrong ?
 

oxusmorouz

Well-Known Member
#22
i cant fig it out ,i was also skeptical,let me identify,in the mean time any idea where i could have gone wrong ?
One solution would be to use metastock's system tester (points test) and see the result in one stock to compare. This should give a better picture.

Btw, could you help me in coding this :
"Buy when Fml("abcd") = 1 And Mov(P,5,S) > Mov(P,15,S), where closing price in nifty is used for the p variable".
It's returning 0 values in both simulators.
 
U

uasish

Guest
#23
One solution would be to use metastock's system tester (points test) and see the result in one stock to compare. This should give a better picture.

Btw, could you help me in coding this :
"Buy when Fml("abcd") = 1 And Mov(P,5,S) > Mov(P,15,S), where closing price in nifty is used for the p variable".
It's returning 0 values in both simulators.
This P variable is a tricky thing ,the best way to tackle it is open the Nifty chart ,then right click on the nifty ,select Edit Data ,downloader will open a combo box ,copy as it is from the Symbol box,put it as a variable
..........8...............
a:= Security( "S&P CNX Nifty",C);
Mov(a,5,S) > Mov(a,15,S)
......................................8................
This is the bset & sure way of tackling the "P" variable


Now for "abcd" to be 1 you can use if() func
................................8...................
if(abcd etc etc =1 , 1,0)
alternatively you can use abcd etc etc > 0
.....................8..........................

My computer is creating havoc ,hanging ,even now the TradeSim exe is not
working ,so deleted it ,even A.Get is not functioning,has to Format "C" & Load MS ,A.Get,TradeSim again.However in our System 1 ,when i used just ::
Ref(L,-1) as optional Stop the performance came down from > 75 to 63,may be hinting SL are too tight.Can verify after Formatting at night.
 
R

ratan jain

Guest
#24
uasish: why dont u use an imaging software


you can jump back to a previous state of your computer at the click of a button


use acronis true image
 
U

uasish

Guest
#25
Ratan_Jain,

I am not so coversant on computers,never heard of this imaging software.How is it done basically.

Asish
 
Last edited by a moderator:

winstonn

Well-Known Member
#26
Hi Asish,

good job!!!!! well, i am really a kid in programming language!
Where are your system rules? Can you explain your system as to what is the set up, entry , exit , position sizing etc?

Regards,
Winston
 
U

uasish

Guest
#27
Oxy,

As per your advise a simulation is done in Metastock system tester of System 2 ,data of portfolio was restricted to 500,a stop order instead of Mkt order was used & that was at "open" for both Short Sell & Buy to cover order.Here also $ 50000 as capital.
You will find on 1 yr data only on 26th April '06 has incurred Loss & the Max was 10.54 % on BHEL only.
Now only my MS is working .

http://www.4shared.com/file/14892652/b5a167b4/Metastock_Simulation_of_System_2.html

Asish

NB: System 2 ( Is for Short)
 
Last edited by a moderator:
U

uasish

Guest
#28
Hi Asish,

good job!!!!! well, i am really a kid in programming language!
Where are your system rules? Can you explain your system as to what is the set up, entry , exit , position sizing etc?

Regards,
Winston
Thks.
System 1 ( For Long)
Set Up = Self Metastock coded Signal on EOD (based on TA)
Entry = One Bar Delay ,Open ( as signal in EOD hence next day Open price )
Exit = same as set up & entry.
Position Sizing= $ 50000.
 
#29
Well I have to learn a lot to understand the whole system.

Anyway..Great work ashish.

Regarding imaging I use Microsoft picture manager to attach charts/ pictures in this forum.....
 

Similar threads