Dislikeddo you know about the code in this indicator? cant find a stochRSI like it {image}Ignored
- #53,111
- Jul 13, 2022 5:34am Jul 13, 2022 5:34am
- Joined Feb 2012 | Status: Trader | 1,994 Posts | Online Now
I will code your pivot EAs for no charge 28 replies
I will code your scalping EAs for no charge 163 replies
Oanda MT4 - Indicators and EAs not showing 2 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
Dislikeddo you know about the code in this indicator? cant find a stochRSI like it {image}Ignored
Disliked{quote} As bluerain stated you wont be capturing 2 events at once, it's not how onchartevent works. - to see how onchart event receives events, print its params out, you will see it as a queue of events, one after another, with differing l/d/s params - limit the print out to just events of keypress, and see the values change when you press different keys and hold them, also read the documentation for it - to combined different events, generally you would wait for a certain event with certain l/d/s params that you want, then turn on some switch variable,...Ignored
Disliked{quote} Hi this was the one i wrote you about which you said you may look into if posted here since you stopped handling such stuff via mail well i put it here and the arrow has been attached but theres no alert to complete it please kindly assist me.What is needed here is a breakout alert on the candle that closes outside the horizontal lines just like what the arrow has done. Thanks{image}{file}Ignored
Disliked{quote} Added LineWidth Not sure why GOLD line is not priting. I don't have that ticker so I can't confirm. I confirmed that those are in the loop - that data is read correctly. {file}Ignored
DislikedHi BlueRain, I got this EA's from developer but its in XML file format, how do I get this EA's to work on MT4/MT5? Sorry for the newbie question? {file} {file}Ignored
Dislikedrequesting for one indicator to draw 4 different sma with different settings and color on chartIgnored
Disliked{quote} Hi, Slingshots Do you simply want to add alert when arrow shows up?Ignored
Disliked{quote} Added LineWidth Not sure why GOLD line is not priting. I don't have that ticker so I can't confirm. I confirmed that those are in the loop - that data is read correctly. {file}Ignored
Disliked{quote} May looks nice, but functionality wise, a typical stochastic rsi would have these parameters defined in the input parameters for users to change. For this, it is just bringing out the parameters for you to change in a custom GUI created, this kind of custom GUI with mult-tabs are usually seen more often in dashboards or trade managers instead of a simple stochastic rsi, and serves a greater purpose in dashboard style usage.Ignored
DislikedHello FF, Anyone kind enough to change this indicator? {file} The gaps extend rectangles to the right of the screen,but I want it not to, I want it to mark up the bars where the gap starts from. Thanks for lookingIgnored
Disliked- without dividing the change in price by points, you are left with some decimal number of the ask/bid change, say 0.003, this is being typecasted into an integer via int(0.003), which turns it to 0, and 0 is plotted, without typecasting the decimal will still be cut into in an integer and a compiler warning telling u its happening will show up - if you want 0.003 instead of 3points, you can turn the variable delta_ask/bid into a double insteadIgnored
//+------------------------------------------------------------------+
#property copyright "2022 Bo Danerius"
#property link "work.danerius.se"
#property version "1.00"
#property strict
#property indicator_separate_window
//----------+ |
#property strict
#property indicator_separate_window
#property indicator_minimum -10
#property indicator_maximum 10
#property indicator_buffers 2
input int tick_count = 1000; //Show last x ticks
double b_close[];
#property indicator_type1 DRAW_LINE
#property indicator_color1 clrWhiteSmoke
#property indicator_width1 1
#property indicator_style1 STYLE_SOLID
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
double arr_close[];
int OnInit()
{
//set draw buffers
SetIndexBuffer(0,b_close);
SetIndexEmptyValue(0,EMPTY_VALUE);
//size the dynamic arrays to tickcount
ArrayResize(arr_close,tick_count);
//start them off with 0's
ArrayInitialize(arr_close,0);
IndicatorDigits(_Digits);
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
const int prev_calculated,
const datetime &time[],
const double &open[],
const double &high[],
const double &low[],
const double &close[],
const long &tick_volume[],
const long &volume[],
const int &spread[])
{
if(prev_calculated<0)return(-1);
if(IsStopped())return(-1);
//save the last close prices
static double prev_close;
//cur_Close = Current Close Price
double cur_close = Close[0];
//get the current ask/bid change from the previous
int delta_close = int ((cur_close - prev_close)/_Point);
//if the previous ask/bid is non existent
if(prev_close==0)delta_close = 0;
//set values of prev ask/bid for next call
prev_close = cur_close;
//update display
display_update(delta_close);
return(rates_total);
}
//+------------------------------------------------------------------+
bool display_update(int d_close)
{
//move array elements back 1 position, stop at index 1. i50=i49 ... i1=i0
//array is array indexing, but treated as timeseries by filling new from index 0
for(int i=tick_count-1; i>=1; i--){
arr_close[i] = arr_close[i-1];
}
//insert new 0 element
arr_close[0] = d_close;
//udpate buffer display
for(int i=0; i<tick_count; i++){
b_close[i] = arr_close[i];
}
//set the previous left buffer val outside the tick count to empty or 0
b_close[tick_count-1+1] = EMPTY_VALUE;
return(true);
}
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
} Disliked{quote} Not easy to see the rectangles if don't extend at all, anyway I shorten the rectangles to only extend by 3 bars from where it starts. You can change this input parameter for how many bars you want the rectangle to extend from where it starts: {image} =================================================== {image} {file}Ignored
DislikedHello everyone! First of all thank you coders for doing this for free. Im greatful for it.So I found this simple changer and I want to remove or toggle show/hide the timeframe buttons? also the button color selected is not working. Thank you so much {file}
Ignored