Regarding ADX Signal

Questions about MultiCharts and user contributed studies.
Carrera
Posts: 9
Joined: 09 Apr 2007

Regarding ADX Signal

Postby Carrera » 10 Apr 2007

Hi,

I corrected file and send again.
Please refer attached file "_ADX14.doc", and explain, Why does Muticharts make an action "Osc Sell Short" & "Osc Buy" though ADX Higher than 30?

I attached daily data and source code to test you can.

-----following is part of attached source code--------

if Osc<Osc[1] and ADX(14)<30 then sell short("Osc Sell Short") next bar at market;
if Osc>Osc[1] and ADX(14)<30 then buy("Osc Buy") next bar at market;"
Attachments
_ADX14.doc
(159.5 KiB) Downloaded 106 times
day_test.txt
(13.02 KiB) Downloaded 122 times
_ADX_test.xml
(28.62 KiB) Downloaded 119 times

User avatar
Kate
Posts: 758
Joined: 08 Dec 2006

Postby Kate » 11 Apr 2007

We cannot reproduce the situation. Could you contact us via our Live Support?

Carrera
Posts: 9
Joined: 09 Apr 2007

Postby Carrera » 13 Apr 2007

This is very important question.I tested it again with another PC carefully.

Signal file name: _NIshi_ADX ( in _ADX_test.xml of attached file)
I believe that you can reproduce the situation.
Please import "_NIshi_ADX " and try again and let me know.

Multicharts make signal ("Osc Sell Short") & ("Osc Buy") following dates,
in spite of ADX >30. Regarding other days, it works well.

3/20/1990, 3/29/1990, 4/2/1990, 4/6/1990, 4/11/1990, 4/13/1990

User avatar
Kate
Posts: 758
Joined: 08 Dec 2006

Postby Kate » 18 Apr 2007

Please make sure that you are using the same bars back settings for the strategy and indicator and try to carry out another test. By default in the strategy properties 50 bars back are indicated but most likely your indicator is set to less bars back.

Carrera
Posts: 9
Joined: 09 Apr 2007

Postby Carrera » 20 Apr 2007

Hi Kate,

Multicharts worked well by the following setting change.

I changed the setting from "Auto Detect "of " Format Study: ADX " to "User Specifeid: 50 ".

Value of "maximum namber of bars study will reference " of "Strategy Propateis" is already 50.

"Auto Detect "of " Format Study: ADX " can not detect the Value of
"maximum namber of bars study will reference " of "Strategy Propateis" .

Please let me know the function of "Auto Detect "of " Format Study: ADX ".

User avatar
Kate
Posts: 758
Joined: 08 Dec 2006

Postby Kate » 24 Apr 2007

I don't understand your question about "Auto Detect" function. Please be more specific.

Carrera
Posts: 9
Joined: 09 Apr 2007

Postby Carrera » 26 Apr 2007

Ok, I send again.

I changed the setting from "Auto Detect "of " Format Study: ADX " to "User Specifeid: 50 ". Then the problem of ADX value was settled.

Why?

User avatar
Kate
Posts: 758
Joined: 08 Dec 2006

Postby Kate » 27 Apr 2007

If you use "Auto Detect" your indicator may start being calculated not from the 50th bar but earlier and that's why I asked you to use "User Specified:50" to make the indicator and strategy start calculations from the same bar.


Return to “MultiCharts”