READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

Indicator Tester ok but Trades of Chart indicator view fail

1 replies

Antonio Belmar Sánchez

Subscriber, bbp_participant, sq-ultimate, 3 replies.

Visit profile

1 year ago #289350

Hello,
I’m programming an indicator published on TradingView in both MQL4, MQL5, and SQX. MQL4/5 give me the same output values ​​as TView, so they’re programmed correctly. The problem I’m having with SQX is that when I run an “Indicator Tester” with a CSV file created with MT4 with 11,000 lines, Indicator Tester tells me that only the last line of the CSV is incorrect (Failed – 1 difference), so I understand that the rest of the 11,000 lines are correct. (If I delete that line from the CSV, it still tells me the last line failed.)
Using Algowizad, I create a simple strategy with this new indicator, activating “Store Chart Data” so I can see how the indicator is drawn in “Trades of Chart.” To my surprise, the indicator is similar but scaled differently, so it’s not correct.

I’ve modified the code in a thousand ways, but I can’t get it to draw correctly, and in every case, Indicator Tester tells me the same thing: everything’s OK except for the last line.

I don’t know where to continue, so I’m asking for help to see if you can guide me because I’m not sure I’m the one writing the code incorrectly.

0

Antonio Belmar Sánchez

Subscriber, bbp_participant, sq-ultimate, 3 replies.

Visit profile

1 year ago #289405

I have attached source code for the LazyBear wavetrend indicator. Compiles but does not give the same output as TradingView’s original Wavetrend. Does anyone see the error in the code that causes it to not give the same output?

Attachments:
You must be logged in to view attached files.

0

Viewing 1 replies (of 1 total)