TheRumpledOne 6,529 posts msg #70729 - Ignore TheRumpledOne |
1/16/2009 1:08:04 AM
No back test!!!! Ha
These are stats for one year.
Criteria:
Enter only after a gap down.
Buy at 0.30 above the open
profit target $1.50 Sell on open of next bar running 10 min bars, You hit the profit target 80% of the time, the dollars calculated using 100 shares.
======================================
Entry is at open + .10 through open + .20 in direction of fade until gap fills.
Profit target is at open + .50 (for testing purpose)
|
Eman93 4,750 posts msg #70730 - Ignore Eman93 |
1/16/2009 1:12:35 AM
The ideal program would set profit target with a trailing stop, set a stop loss of 0.40 cents have the abilty to re enter on the same day. sounds easy right.......
The thing works on bar time scales and price sort of, if a bar closes it checks if its above or below your sell price the enters the sell order.
|
Eman93 4,750 posts msg #70731 - Ignore Eman93 modified |
1/16/2009 1:24:01 AM
I know.
But if it clears +.30 it gose to 1.50 61% of the time.
If you change it to .20 it drops off......
I can runn it at +.20 and .50 profit it will hit the 90s but it is kind of a fake number becase the stop is not in.
The stat above is, if you enter a trade at open +.30 on a gap down day and hold for a 1.50 profit....no stoploss.
|
Eman93 4,750 posts msg #70732 - Ignore Eman93 modified |
1/16/2009 2:10:26 AM
This is on a gap down Buy Open +0.20 sell 0.50 profit.
PS I was running an older code that had a way to peek, it wouldnt enter a trade on the back test if the candle was red, only green.
|
TheRumpledOne 6,529 posts msg #70745 - Ignore TheRumpledOne |
1/16/2009 10:59:48 AM

|
Walid 130 posts msg #70758 - Ignore Walid |
1/17/2009 12:26:37 AM
Eman,
C# codeing is what I do for living. Please let me know if I can be of any help. BTW, at 2:00 AM you will suck at almost any thing, get some sleep :-)
|
stratigf 43 posts msg #70816 - Ignore stratigf |
1/20/2009 10:31:13 PM
eh TRO,
I've downloaded your BZ indicators for esignal and also received your donation indicatiors for MT4, but I am considering going with Ninjatrader. My question is have you coded the indicators for NT? If you have can I receive them and if you have not could you code them for a price of course.
Thanks,
Static G
|
Eman93 4,750 posts msg #70844 - Ignore Eman93 modified |
1/22/2009 12:00:34 AM
Walid
- Ignore Walid 1/17/2009 12:26:37 AM
Eman,
C# codeing is what I do for living. Please let me know if I can be of any help. BTW, at 2:00 AM you will suck at almost any thing, get some sleep :-)
Wealth lab my be your gig, you can totaly automate trades, when it dosent lock up, HO HO. The 5.1 is unstable in live sessions....they are working on a fix.
This is the code
/*
1. Long only
2. If today’s open is below yesterdays close then I buy at a few ticks above the open.
3. Profit target $1.00 fixed
4. No stop, but liquidate open position(s) on EOD.
5. 1 trade per day
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators;
namespace WealthLab.Strategies
{
public class MyStrategy : WealthScript
{
protected override void Execute()
{
PlotStops();
int dayOfLastTrade = 0;
SymbolInfo si = Bars.SymbolInfo;
double ticks = 3 * si.Tick; // a few ticks
// Get the Daily closes
SetScaleDaily();
DataSeries dayClose = Close;
RestoreScale();
dayClose = Synchronize( dayClose );
// Find the start of the second day
int stBar = Bars.Count;
for(int bar = 0; bar < Bars.Count; bar++)
{
if( Bars.IsLastBarOfDay( bar ) )
{
stBar = bar + 1;
break;
}
}
// Here's the main loop - start on the second day (so that you know yesterday's close)
double todayOpen = Open[stBar];
for(int bar = stBar; bar < Bars.Count; bar++)
{
if( Bars.IntradayBarNumber( bar ) == 0 )
{
todayOpen = Open[bar];
dayOfLastTrade = 0;
}
if (IsLastPositionActive)
{
Position p = LastPosition;
if( Bars.IsLastBarOfDay(bar) )
{
if( bar == Bars.Count - 1 )
SellAtMarket(bar + 1, p, "EOD"); // generate an immediate sale/alert if last bar in chart
else
SellAtClose(bar, p, "EOD"); // for backtesting, just sell at the closing price of this bar
}
else
SellAtLimit(bar + 1, p, p.EntryPrice + 1.00, "Profit Target");
}
else if( todayOpen < dayClose[bar] && dayOfLastTrade != Date[bar].Day )
{
if( BuyAtStop(bar + 1, todayOpen + ticks) != null )
dayOfLastTrade = Date[bar].Day;
}
}
}
}
}
|
Eman93 4,750 posts msg #70845 - Ignore Eman93 |
1/22/2009 12:40:01 AM
What is nice is you can back test on 1 min data for years and years if you like.
I can send it to you in a text file if you like...I burned a lot of hours trying to get it to work.
I can send any other info, I think I have the manual in a PDF.
The thing I like about the MTC is you can see the stats and you can see it work every day.
On Gap down days you win a dollar 80% of the time.
Just a quick thought, if put your stop loss at $1.00 and won a $1.00 at a rate of 80% after a 100 trades with 1 share you stand to profit 80 dollars. so at 1000 shares you make 80000, it is very cash intesive, we need a way to catch the runners too.
I can only go long hence the gap down play.
I have a day job and cant trade all day long or I would just do the MTC all day long, I would spring for the 100 a month for Trade Station and build the MTC radar like TRO has, it is very hard (for me any way) to gage the action from a simple watch list and by the time you flip through 5 stock charts you have missed the trade.
I thank you for your willingness to help in this endevor......
|
nojobmaui 19 posts msg #70865 - Ignore nojobmaui |
1/23/2009 12:39:28 AM
Eman
It so incredible that you have done this! Thank you
|