- Accueil
- Communauté
- Programmation
- Free Indicator Opportunity!!!
Free Indicator Opportunity!!!
Time based in terms of historical volume at specific times in the past relative to the current volume. An example the volume on a 15 minute chart now as compared to the same 15 minute period over the last month or two.
The idea I have is to take the mean of the set of 15 minute historical time frames and then compare the current volume to the historical volume for the 15 minute time frame. The concept is to determine whether the current volume is greater or less than the historical volume during the same time frame.
Any help would be greatly appreciated.
Actually, I would like to see real indicators, which will show that it makes sense. And of course on a real account... Not on a demo...
I only had an idea, which consisted of developing a base line to judge the current volume by the volume at the same time of day over a specific time frame. I could then better judge whether the current volume is above or below average during the same time frame. So it really comes down to is the current bar's volume is above or below the average for the same bar at that specific time over the last 4 to 6 weeks.
Here is the code:
#property strict
#property indicator_buffers 4
#property indicator_chart_window
input int InpATRperiod=14; // ATR Periods
input float InpRisk=1; // Risk Size %
input float InpSLfactor=1.5; // Stop Loss as a factor of ATR
input int InpFontSize=12; // Font size
input color InpColor=Red; // Color
input int InpBaseCorner=CORNER_RIGHT_UPPER; // Base Corner 0=UL,1=UR,2=LL,3=LR
input float InpFixedATR=0; // Fixed ATR points
string AccntC=AccountCurrency(); //Currency of Acount eg USD,GBP,EUR
string CounterC=StringSubstr(Symbol(),3,3); //The Count Currency eg GBPUSD is USD
string ExC=AccntC+CounterC; //Create the Pair for account eg USDGBP
double UpTicks[];
double DownTicks[];
double Diff[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
text_init(ChartID(),"textATR",5,InpFontSize,clrAliceBlue,InpFontSize);
text_init(ChartID(),"textBAL",5,(InpFontSize+2)*3,InpColor,InpFontSize);
text_init(ChartID(),"textRISK",5,(InpFontSize+2)*5,InpColor,InpFontSize);
text_init(ChartID(),"textlotsize",5,(InpFontSize+2)*7,White,InpFontSize);
text_init(ChartID(),"textBuyVolume",5,(InpFontSize+2)*9,clrForestGreen,InpFontSize);
text_init(ChartID(),"textSellVolume",5,(InpFontSize+2)*11,clrLightGoldenrod,InpFontSize);
text_init(ChartID(),"textDifference",5,(InpFontSize+2)*13,clrRed,InpFontSize);
SetIndexBuffer(0,UpTicks);
SetIndexBuffer(1,DownTicks);
SetIndexBuffer(2,Diff);
SetIndexLabel(0,"UpTicks");
SetIndexLabel(1,"DownTicks");
SetIndexLabel(2,"Difference");
return(0);
}
//+------------------------------------------------------------------+
//| 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[])
{
int i,counted_bars=IndicatorCounted();
//---- check for possible errors
if(counted_bars<0) return(-1);
//---- last counted bar will be recounted
if(counted_bars>0) counted_bars--;
int limit=Bars-counted_bars;
//----
for(i=0; i
“Ljudi, indikatori su tu da vam daju lažni osjećaj sigurnosti. Zašto? Zato što svi oni kasne – računaju se na temelju prošlih cijena. Dok ti MACD, RSI ili pomični prosjek ‘kažu’ da je prilika tu, oni koji bez indikatora trejdaju već su ušli ili izašli prije 5 minuta. Indikatori ne predviđaju budućnost, oni samo lijepo pakiraju ono što se već dogodilo.
Pogledajmo kako trejdamo bez indikatora (i zašto to radi):
Čisti price action – gledamo samo grafikon i svijeće. Ključni nivoi (sport, otpor, trend linije) i čitanje svijeća (npr. ‘pin bar’ ili ‘engulfing’) daju nam signal PRIJE nego što indikatori uopće zabilježe promjenu.Volumen i order flow – pratimo gdje je stvarni novac. Indikatori ne vide da netko gradi veliku poziciju, mi to vidimo po ‘footprint’ ili ‘depth of market’ (DOM) tragovima.Brža reakcija – dok vi čekate da RSI siđe ispod 30, mi već trgujemo na prvom testu podrške.Bez šuma – indikatori vas zatrpavaju informacijama. Bez njih, ja vidim čistu cijenu, nultu latenciju i stvarno ponašanje sudionika.Zašto se indikatori i dalje prodaju? Zato što su jednostavni i psihološki umirujući. Ali upravo ta ‘umirenost’ vas čini sporim. Tržištem upravljaju oni koji čitaju namjere – ne oni koji čekaju da im formula kaže ‘kupi’.
Krenite polako: ugasite sve indikatore, ostavite samo svijeće i nacrtajte jedan support. Gledajte 10 dana kako se cijena ponaša na njemu – vidjet ćete stvarnu priču. Indikatore ostavite onima koji prodaju tečajeve i signal servise.”