| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() ![]() | Reference Future Bar Data Tradestation I'm just trying to build a theoretical perfect strategy to determine maximal profit potential in a market. | ||
| |
|
| | #2 | ||
![]() | Re: Reference Future Bar Data Tradestation Quote:
Code: var: test(False); test=high>High[1]; If test then begin plot1[1](high, "test"); // Set to points and large weight plot2(low, "test 2"); // Set to points and large weight end;
__________________ Precise, "dialed-in", targeted combination setups, like opening a combination lock; is the experience you should be having while trading. Dial left, right, left, . . . click - the lock opens. | ||
| |
|
| | #3 | ||
![]() ![]() | Re: Reference Future Bar Data Tradestation Here is what I have. I'm getting a "floating point invalid" error though .. Code: If (Close[1] > Open[1] ) then
begin
Value1 = Value1 + (close[1]-open[1] );
Value2 = Value2 + 1;
End;
If isMax then
plot1( Value1,"MaxProfit");
If isMax = False then
plot2( Value1/Value2,"AvgProfit"); Code: If isMax = False and value2 > 0 then plot2( value1/value2,"AvgProfit"); Last edited by Predictor; 07-26-2011 at 10:33 PM. | ||
| |
|
| | #4 | ||
![]() | Re: Reference Future Bar Data Tradestation Quote:
__________________ Precise, "dialed-in", targeted combination setups, like opening a combination lock; is the experience you should be having while trading. Dial left, right, left, . . . click - the lock opens. | ||
| |
|
| | #5 | ||
![]() ![]() | Re: Reference Future Bar Data Tradestation Quote:
| ||
| |
|
| | #6 | ||
![]() | Re: Reference Future Bar Data Tradestation Quote:
Hi=high[3] of data2; The question is, what data is the strategy using? If it's using the underlying data instead of data2 then I guess it wouldn't work. I wonder if you could "print to file" the trades, and then process the stats in a spreadsheet. Or find a platform that can do what you want.
__________________ Precise, "dialed-in", targeted combination setups, like opening a combination lock; is the experience you should be having while trading. Dial left, right, left, . . . click - the lock opens. | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Amibroker - Tick Data Backtesting Bar Reference | Isahnshade | Coding Forum | 0 | 02-20-2011 11:13 PM |
| Which Company Has Fast, Reliable Data to Trade HK Future, Emini in Asia Countries? | MoreYummy | Futures Trading Laboratory | 20 | 12-16-2009 03:04 PM |
| Future Data Error in TS Indicator | blib | Coding Forum | 6 | 04-05-2009 04:09 PM |
| Pair Trading (future Vs Future at CME/Eurex) | Accumulator | Futures Trading Laboratory | 0 | 03-11-2009 02:52 PM |
| What Is Your Reference Point? | Soultrader | Technical Analysis | 0 | 12-08-2006 10:32 PM |