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

Like Tree2Likes

Reply
Old 01-30-2012, 01:28 AM   #9

alex_laxya's Avatar

Join Date: Aug 2008
Location: pune
Posts: 61
Ignore this user

Thanks: 66
Thanked 43 Times in 17 Posts

Re: Logical Error in the Strategy Based on Open Types

Well, finally solved the riddle. As you guys suggested I go through step by step and add one condition at a time. System is working fine. When now I turn back and look at final strategy I can't help but think that It has become helluva complicated system.
The main issue of generating intraday signals using date<>date[1] has been solved by this logic
date<> date[1] then
begin
numberofbars = numberofbars +1 ;
if numberofbars > waittime/ barinterval then begin ( waittime is input value of 60 and barinterval is 30 so num of bars to wait are 60/30 = 2 )

Attached the .pla code to demonstrate the logic flow ( code wont work for others as functions for VAH,VAL, AND POC are not disclosed, as this thread is only about logical error in coding )
Thanks again Tams and Smith for kind support and patience.
Attached Files
File Type: rar _mpsystem.rar (10.0 KB, 2 views)
alex_laxya is offline  
Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Historical MP Day Types and Open Types? PointHarvester Market Profile 10 01-24-2012 10:58 AM
Logical Trader by Mark Fisher waynick5 E-mini Futures Trading Laboratory 5 11-02-2011 01:02 AM
Logical Trader by Mark Fisher waynick5 Beginners Forum 0 08-11-2011 12:07 PM
Error in MC emptyvault Coding Forum 11 08-30-2009 12:55 PM
Bars Based on Contracts' Volume As % of Open Interest Tresor Technical Analysis 12 03-26-2008 06:27 PM

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