iTrix Problem with Cross Over

 

I dont know how to select certain bar and alert wont go off if cross from below 

in MT4 /// MA_c = iMA(NULL,0,Period_MA,0,MODE_SMA,PRICE_CLOSE,0);  Current bar

               MA_c2 = iMA(NULL,0,Period_MA,0,MODE_SMA,PRICE_CLOSE,4 ); 4th bar

I could get a cross over 

Also iTrix Indicator Crashes  Meaning If its at 0.00009 on Trix, On Mine after 2 Bars it will go 0.00000 

Documentation on MQL5: Technical Indicators / iTriX
  • www.mql5.com
Technical Indicators / iTriX - Documentation on MQL5
Files:
 
q_import:

I dont know how to select certain bar and alert wont go off if cross from below 

in MT4 /// MA_c = iMA(NULL,0,Period_MA,0,MODE_SMA,PRICE_CLOSE,0);  Current bar

               MA_c2 = iMA(NULL,0,Period_MA,0,MODE_SMA,PRICE_CLOSE,4 ); 4th bar

I could get a cross over 

Also iTrix Indicator Crashes  Meaning If its at 0.00009 on Trix, On Mine after 2 Bars it will go 0.00000 

 

Using of iMA and other i... functions in MQL5 and MQL4 are different.

See help topics (iTriX and CopyBuffer).

 

Thank you so much it wasn't until i understood the (CopyBuffer)  a link off the Copy Buffer page: Creation of Custom Indicators

I'll read the manual and all articles before i post again..about a problem  

Step on New Rails: Custom Indicators in MQL5
  • 2009.11.23
  • Андрей
  • www.mql5.com
I will not list all of the new possibilities and features of the new terminal and language. They are numerous, and some novelties are worth the discussion in a separate article. Also there is no code here, written with object-oriented programming, it is a too serous topic to be simply mentioned in a context as additional advantages for developers. In this article we will consider the indicators, their structure, drawing, types and their programming details, as compared to MQL4. I hope that this article will be useful both for beginners and experienced developers, maybe some of them will find something new.