Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 02-19-2009, 12:06 PM   #1

Join Date: Nov 2008
Location: sparta
Posts: 3
Ignore this user

Thanks: 3
Thanked 0 Times in 0 Posts

Help with Counters

I am trying to create a condition using time and indicator value counters.
It's not working


What I want to do is set a condition that states price has been below the VWAP for N% of the trading session. (from today's session open until current time)


If someone could help with this, I would be very greatful.

thanks
gtnicosia is offline  
Reply With Quote
Old 02-19-2009, 01:06 PM   #2
zdo

Join Date: Nov 2007
Location: boonies
Posts: 1,349
Ignore this user

Thanks: 317
Thanked 355 Times in 256 Posts
Blog Entries: 104

Re: Help with Counters

To increase chances of good help
Best to post the code and a brief description of where you're blocked...
and do same on TS forum...
zdo is offline  
Reply With Quote
Old 02-19-2009, 07:30 PM   #3

Join Date: Jan 2007
Location: Toronto
Posts: 51
Ignore this user

Thanks: 2
Thanked 3 Times in 3 Posts

Re: Help with Counters

Hi guys ,

Sorry that I posted here if in wrong place; I need to do a backtest on a simple method, is there a thread for that.

Many Thanks,
email
email is offline  
Reply With Quote
Old 02-20-2009, 03:10 AM   #4

Join Date: Nov 2006
Location: N/A
Posts: 612
Ignore this user

Thanks: 62
Thanked 294 Times in 177 Posts

Re: Help with Counters

Quote:
Originally Posted by email »
Hi guys ,

Sorry that I posted here if in wrong place; I need to do a backtest on a simple method, is there a thread for that.

Many Thanks,
email
You have to do backtesting in your trading software and not in a thread.
sevensa is offline  
Reply With Quote
Old 02-20-2009, 04:54 AM   #5

Join Date: Jan 2007
Location: Toronto
Posts: 51
Ignore this user

Thanks: 2
Thanked 3 Times in 3 Posts

Re: Help with Counters

Quote:
Originally Posted by sevensa »
You have to do backtesting in your trading software and not in a thread.
Hi sevensa,

Thanks for answering, I know that you have to backtest on the trading platform. I should have made myself more clear. I do not have a clue how to do a backtest that is the problem, that is why I was asking if there is thread that someone can post an idea and someone can backtested.
I figured people ask for indicators all the time why not ask for backtest.
Can someone help me here with a simple backtest.
Many thanks.
email
email is offline  
Reply With Quote
Old 02-20-2009, 07:53 AM   #6

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Help with Counters

what platform you are using?
Tams is offline  
Reply With Quote
Old 02-20-2009, 08:24 AM   #7

Join Date: Jan 2007
Location: Toronto
Posts: 51
Ignore this user

Thanks: 2
Thanked 3 Times in 3 Posts

Re: Help with Counters

Hi Tams,

I use Sierra and MT4, I have tradestation with owndata but do not know how to use it.
Thanks a million


Quote:
Originally Posted by Tams »
what platform you are using?
email is offline  
Reply With Quote
Old 02-20-2009, 08:28 AM   #8

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Help with Counters

Quote:
Originally Posted by email »
Hi Tams,
I use Sierra and MT4, I have tradestation with owndata but do not know how to use it.
Thanks a million
which platform do you want to use this counter?

if you can write out your logic in pseudo code, you are half way there.
Tams is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


All times are GMT -4. The time now is 12:34 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.