PDA

View Full Version : noob: custom trading platforms and programming


jupiejupe
08-20-2009, 02:04 AM
hello traders,

i am new to this world of custom trading toys and programming, i signed up yesterday and played with the wizard(to cool), kinda felt like i saw looking a programming for dummies wizard. i really liked the sample of the simple moving avg, and am using this as my starting point to this new world.

i figured out how to recreate it using ema instead of sma (which was so cool i felt like i was programming), so i wanted to try to add a layer of difficultly to my programming skills via wizard, and add another ema for the cross over to enter to filter out some sideways movements, but alas i could not. as to be something like 5 crosses over 10 and 25 for a signal with 10 greater than 25 long, and less than 25 short.

not to sound stupid, as i figure it must be possible, and is just beyond my skills (at the moment). is it possible to program with the wizard? or does something like this have to be hand coded?

thanks in advance for my ton of questions to come.
-jupiejupe

NinjaTrader_Bertrand
08-20-2009, 06:57 AM
jupiejupe, welcome to NinjaTrader and our support forums! This should be possible to code in the wizard, just post where you're at in terms of putting this together and we take it from there.

Those links below should help get you going -

http://www.ninjatrader-support.com/HelpGuideV6/WizardScreens.html

http://www.ninjatrader-support.com/HelpGuideV6/ConditionBuilder1.html

http://www.ninjatrader-support.com/HelpGuideV6/ConditionBuilder-CrossOverConditions.html

jupiejupe
08-20-2009, 09:03 AM
hey i am doing alot better than i had hoped i would be doing, one quick question how do i tell the wizard not to entry the market? the is nothing about holding, only entry and exit of the market.

as in "current market position is flat" do nothing

using this page as the templet.
http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?ConditionBuilder-CrossOverConditions

NinjaTrader_Bertrand
08-20-2009, 09:16 AM
jupiejupe, great - not sure I follow what you look for: if you don't want to enter the market just don't place orders or rework the conditions giving you your entries.

mike82
08-20-2009, 05:47 PM
jupiejupe,

multiple conditions, if you use two conditions in the code(or wizard) then when one of them is met but not the other it won't put in an order.

you can also do some thing like

if (long condition ==true){
if (market ==trending){
//"go long"
}
else{
//"exit short"
}
}

jupiejupe
08-22-2009, 09:41 PM
if (long condition ==true){
if (market ==trending){
//"go long"
}
else{
//"exit short"
}
}

blink blink blink,

thanks, but sorry man, i am sure this makes some sort to sense to you but i am so not there (raw code), i am most definitely, at the wizard level. the more i figure out the more questions i have but i guess than means i am understanding to some degree.

mike82
08-22-2009, 09:53 PM
you may want to look at the code every time you add/change a condition (there's a button for that in the wizard)
it helped me quite a bit

jupiejupe
08-23-2009, 12:07 AM
yeah that's a good idea, i sort of learn html buy stealing code and pasting it together, i started doing that too, with some of the scripts, i even got it cut together right to compile so i am rather happy, now is i can just...