Help with Metatrader custom indicator
  #1 (permalink)  
Old 06-02-2009, 06:12 PM
FXH FXH is offline
Currency Trader
 
Join Date: Jun 2009
Posts: 1
FXH is on a distinguished road
Default Help with Metatrader custom indicator

Hi All

I am new here and obviously my programming skills are not great. Can someone please help me to put a simple Bollinger Band on a MACD or a RSI. I have tried to code it for the Rsi, but cannot get the BB to show properly.

I guess there is some problem with my logic.

If you don't want to code the whole thing from scratch, I can send you what I have done. I good programmer will quickly pick up on "the error of my ways"

Look forward to hear from you.

FXH
Reply With Quote
  #2 (permalink)  
Old 06-02-2009, 07:47 PM
bossxero's Avatar
Honorary Moderator
 
Join Date: Nov 2006
Location: Neverland
Posts: 851
bossxero has a spectacular aura aboutbossxero has a spectacular aura aboutbossxero has a spectacular aura about
Send a message via ICQ to bossxero Send a message via MSN to bossxero Send a message via Yahoo to bossxero Send a message via Skype™ to bossxero
Default

double rsi_value_array[300]; // array to hold the RSI values
double bbands_rsi_array[300]; // array to hold moving avg. values of RSI values in rsi_value_array


int j = 0,limit=ArraySize(rsi_value_array); // setup rsi_value_array to allow reverse processing such as with timeseries arrays
ArraySetAsSeries(rsi_value_array,true);

for(j=0; j<limit; j++) // now populate rsi_value_array values for each array element which corresponds to a bar.
{
rsi_value_array[j] = iCustom(NULL, timeframe, RSI SETTINGS,0,j);
}

for(j=0; j<limit; j++) // now double back and calculate the bollunger of the RSI values
{
bbands_rsi_array[j] = iBandsOnArray (rsi_value_array,0, int period, int deviation, int bands_shift,MODE_SMA,j);
}
Reply With Quote
Sorry, info about super rsi v.2 or deluxe
  #3 (permalink)  
Old 06-17-2009, 11:54 AM
Currency Trader
 
Join Date: May 2009
Posts: 1
hquevedoamaris is on a distinguished road
Default Sorry, info about super rsi v.2 or deluxe

Hello bossxero,

Sorry for off the topic question, I want to ask you about how to join the bluto private group about super rsi v2.xx or deluxe?


Thanks for your help


Hernando Quevedo
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom RSI indicators buangcla Indicators 18 05-23-2012 09:26 PM
Custom Indicator! kinkeadfx Indicators 1 08-13-2008 07:52 AM
Metatrader custom indicator Steady08 MetaTrader and ZeroCode 0 06-09-2008 10:13 AM
Custom indicator Dave77 MetaTrader and ZeroCode 16 07-19-2007 02:05 PM


All times are GMT. The time now is 07:52 AM.

Registered members gain free access to online FOREX currency trading tools, foreign exchange software, Metatrader MT4/MT5 expert advisors, MT4 indicators and EAs. Register now