molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Sun Apr 28, 2024 5:06 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: TIB does not work
PostPosted: Sat Feb 01, 2014 11:11 pm 
Offline

Joined: Thu Sep 19, 2013 2:31 am
Posts: 4
Hi, any reason why this indicator does not work? TIB says condition is ok, but it does not show the arrows in the chart....


Attachments:
File comment: Indicator should mark the bars based on the calculation, but it does not
Umkehrstab_1.moi [1.51 KiB]
Downloaded 725 times
Top
 Profile  
 
 Post subject: Re: TIB does not work
PostPosted: Mon Feb 03, 2014 8:19 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Do not put it in the chart but below the chart (change the setting in the Start Icon)
I think you calculation does not show in the chart due to scale. The chart auto adjust to show the prices but your calculations are not similar to the chart prices so you do not see them


Top
 Profile  
 
 Post subject: Re: TIB does not work
PostPosted: Tue Feb 04, 2014 6:11 am 
Offline

Joined: Thu Sep 19, 2013 2:31 am
Posts: 4
does not work either and it would make absolutely no sense to not show it in the chart window. I want to mark the bars fulfilling the criteria

rgds
ax


Top
 Profile  
 
 Post subject: Re: TIB does not work
PostPosted: Tue Feb 04, 2014 8:06 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
It does make sense to plot it below because your calculation might be out of the chart prices range
Let's say you are around the 1.3 prices, a calculation can be like:
=(1.34-1.33)/(1.32-1.31)=1
1 will be plotted out of the chart because the chart centers around the 1.3 range

Your problem is related to issues when you divide by zero, to fix your formula needs to add a small constant like this: (1.34-1.33)/(1.32-1.31+0.0000001)

Do not use > 0. The indicator builder plots continuous signals. You cannot use conditions. In the Strategy Builder you use the indicator and add the condition.


Top
 Profile  
 
 Post subject: Re: TIB does not work
PostPosted: Tue Feb 04, 2014 9:41 am 
Offline

Joined: Thu Sep 19, 2013 2:31 am
Posts: 4
the thing should just draw an arrow if the condition is true - the indicator shows so called "turn-around-bars". I want an arrow pointing to the bar if high1>high2 and close1<open1

if the indicator is <0 then this condition is true. sad that it does not work


Top
 Profile  
 
 Post subject: Re: TIB does not work
PostPosted: Wed Feb 05, 2014 9:08 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Unfortunately conditions are not supported in the indicator builder. It will be supported in coming versions (maybe in the fall)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009