OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
kmcintyre

Legend
100100100100
Posts: 410

Joined: 8/30/2007
Location: Valley Center, CA

User Profile
 
Subject : RE: I'm confused - help!
Posted : 7/5/2018 7:02 PM
Post #44953 - In reply to #44949

Actually LLV(2) is not the issue.

Looking closer, when I use the LongSignal drawing tool to highlight a bar, the Low value returned for that bar is the low for the previous bar.

See the attached png. I positioned the LongSignal tool on the last bar in the chart, The stop line was drawn at the L[1]. I moved the LongSignal tool to the right of the last bar. The stop line never is drawn on the low of the last bar.

The stops code is shown in another png. The sLevel of LongSignal is assigned L. The sLevel is plotted to the price chart at the bottom of the script. No LLV in the code path...

Is the problem with the LongSignal drawing tool? Or is the [0] bar when #stop is ran not the signal bar? I dunno…


Attached file : OT Long Entry Tool.png (74KB - 357 downloads)
Attached file : OT stop code.png (94KB - 376 downloads)

Deleting message 44953 : RE: I'm confused - help!


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.