Here goes the next question (and this again is quite basic, but I am running into basic logic errors because of my lack of understanding of programming flow).
I have successfully added variables to my indicator so that it can be optimized later. It tested perfectly without errors. Here is where I get into trouble:
1) What should I be building first to build a trade plan (or should I build the session first)...should it be (from first step to last):
Custom Indicator Plot
Custom Indicator Function
System
Trade Plan
Session
Or is this in opposite order? I think what frustrates me the most at present is that I cannot see how all the pieces fit, and when I pull up the session, TradersStudio's first order of business (as it ought to be for running sessions) is to do the calculations not show the outline of how all this fits together. When I try to build a piece of it at a time, the program either rejects the subroutine or informs me that I cannot store the trade plan.
My first goal is simply to build a crossover system based on the indicator, and then add nuances once I know the basic system is built (using trailing stops or ATR calculations for trailing stops).
Let me know where I am going wrong, and I will gladly write a report of where I went wrong as I did with learning how to program an indicator.
Thanks again for your help.
|