Reply

Problem with custom indicator Murray Math Lines

14 replies

Wouter

Customer, bbp_participant, community, 10 replies.

Visit profile

8 years ago #114682

Hello,

 

I am currently struggling to make eawizzard react on one of my newly added custom indicators.

 

I have al my indicator buffers correctly linked to their output’s and it draws everything correctly if I visually backtest within the strategy tester. Unluckily it doesn’t open any trades and neither shows any price data in it’s buffers as shown in the screenshot made of the chart data window.

 

 

KInd regards,

Wouter Vermeersch

 

 

File: 3.png3.png
File: 2.png2.png
File: 4.png4.png
File: 5.png5.png

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #135284

What testing precision do you use in MetaTrader? Have you used ‘every tick’?

0

Wouter

Customer, bbp_participant, community, 10 replies.

Visit profile

8 years ago #135285

Yes i did use every tick, could this be the problem ..?

Verzonden vanaf mijn iPhone met Tapatalk

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #135286

Send me the indicator if you can so I can do testing. What could also help is to set bars ago to 0 instead of 1.

0

Wouter

Customer, bbp_participant, community, 10 replies.

Visit profile

8 years ago #135287

If you mean the shift, then I’ve also allready tried that… Once I’m at home I’ll send it to you.

Verzonden vanaf mijn iPhone met Tapatalk

0

Wouter

Customer, bbp_participant, community, 10 replies.

Visit profile

8 years ago #135290

Here is the indicator code

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #135325

The problem seems to be in comparison between Bid and indicator value. Bid is 5 decimals while indicator can be 8 decimals or so. This way they will never match. Use ROUND function in Wizard to round the indicator value to 5 decimals. Then it should match the bid. See screenshot attached.

0

Wouter

Customer, bbp_participant, community, 10 replies.

Visit profile

8 years ago #135330

I’ll go try that right away, the round function won’t be difficult to find I presume ?

Verzonden vanaf mijn iPhone met Tapatalk

0

Wouter

Customer, bbp_participant, community, 10 replies.

Visit profile

8 years ago #135332

This actually made it work, 

 

Is there also a function which recognizes the difference between rounding to 3 or 5 decimals in case of yen pairs? or should I just make a separate EA for the yen pairs with fixed rounding to 3 decimals?

 

 

I am very grateful for you’re excellent support thomas, 

 

In return I would like to stay around a little longer and share some of my knowledge if needed.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #135338

You can set a varible roundDecimals (int type) and use it in Wizard rounding function. This way you can change rounding as your EA input parameter. When you load your EA up on chart you will adjust EA parameter for selected currency pair

0

Wouter

Customer, bbp_participant, community, 10 replies.

Visit profile

8 years ago #135339

Yes that’s also a possibility, kind of hoped on the existence of an automatic function.

Verzonden vanaf mijn iPhone met Tapatalk

0

m0rtal

Subscriber, bbp_participant, community, 11 replies.

Visit profile

7 years ago #140542

I’m also having problems importing data for custom indicator:

f18f4bf63e594ee76c8a2802860d67ad.png

This happens during automatic import procedure.

Any idea how can I fix this?

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #140598

Hello,

 

if you have any issues using the automatic import in SQ I suggest to switch to manual method which works well

0

m0rtal

Subscriber, bbp_participant, community, 11 replies.

Visit profile

7 years ago #140656

There’s no information on how to use manual import method in SQ help. Some directions?

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #140662

Hello,

 

look at the PDF guide page 99 https://strategyquant.com/licenses/d?code=squg

 

Let me know if any problems with importing

0

Viewing 14 replies - 1 through 14 (of 14 total)