+1 888 340 6572
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
bug_report_small.png
Open Bug report MC-2620

Chart Trader Strategy Parameters Stop Loss Offset Percentage bug (very easy fix)

action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

Hi, I would classify this as a bug and probably an extremely easy to fix bug.

I find entering adjustments into the "Chart Trader Strategy Parameters Stop Loss Offset" difficult when it is set to %. For example, I will clear the box and start typing in something new such as 1.45 it tries to anticipate as soon as I put the 1 in by inserting two zeros. So when I type the .45 it ends up giving me this "1.45.00" or something else very strange such as 51.40.

I have actually auto programmed the filling in of this box from MS-Access (see below) and thought I had it down pat. However it messed up and I am trying to figure out how to program it to work and it keeps throwing me these very strange curves. So much so I am having trouble doing it manually. Any fix A.S.A.P. would be much appreciated. I think a simple clear the box upon entry and let us type whatever we want would do the trick.

Thanks,
John

Call AppActivate("MyMarketWaves", False) 'Activate my MS-Access program that I use as a market assist program
Call funcSetInitialStop("Y") 'This gets the ATR value used below. It uses global variables to pick up the highest ATR value from multicharts
sngMyRound = Me.fldADT_SLE_StoppedOutPerc * 100 'This moves the decimal over
sngMyRound = Round(sngMyRound, 2) 'This rounds the above adjustment to two decimals.
If funcJWYNSmallTalk("Have you opened the initial stop dialog box to have the initial stop percent of " & sngMyRound & " inserted into the chart trader? If you have enter yes.") Then
    Call AppActivate("Strategy", False) 'Activate the initial stop stretegy dialog box of multicharts
    Call funcJWPause(0.3)
    SendKeys "{TAB 5}", False 'tab over 5 times to get to the offset which is set to % rather than ticks
    Call funcJWPause(0.1)
    SendKeys "{DELETE}", False 'clear the text box.
    Call funcJWPause(0.1)
    SendKeys sngMyRound, False 'Insert the value you selected from the highest ATR (average true range) for the chart you selected.
    Call funcJWPause(0.1)
    SendKeys "{DELETE}", False 'Delete everything after the amount you submitted.
    Call funcJWPause(0.1)
    SendKeys "{TAB}", False 'tab to move to the save key.
    Call funcJWPause(3)  'This long pause lets me see if it actually worked since I have had problems with it.
    SendKeys "~", False  'press enter.
Else
    Exit Sub
End If
Steps to reproduce this issue
Nothing entered.
Comments (1)
#1
user-offline.png  bowlesj3 (bowlesj3bt)
09 d?c. 2019 - 08:00

I figured out a way around the bug. I just use MS-access to put any of the values shown below (or similar values) into the clipboard and use the ctrl+v paste command to put the value in then tab to the save button.

1
1.5
1.00
1.50
1.75
2.01
4.00
10.01

History
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targeted for
    MultiCharts Future Releases
  • Status
    Confirmed
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates