Forum

Pin candle

Boys, good evening, I found a list on the net and modified it for my needs but only recognizes me the pins - bullish bars I can not understand where the error, someone can help me, this is the code: int start() { int NeedBarsCounted, LastBars = 0 ,CountBars= 0 ; double NoseLength, NoseBody

TextBox and indicator

Hello, everyone, I have two questions: 1) I would like to create a Textbox where you can write us some information about the candles you tell me if it is feasible to create one appears on the graph and then move it with the mouse as if it were a window. 2) As for the indicator I would like to create

BreakMinMax

void AllertoPerIlRialzo() { ObjectCreate ( ChartID (), IntegerToString (Time[ 0 ], 0 , 0 ), OBJ_VLINE , 0 ,Time[ 0 ], 0 ); ObjectSetInteger ( ChartID (), IntegerToString (Time[ 0 ], 0 , 0 ), OBJPROP_COLOR , clrDarkGreen ); // Alert("Teo_CI rialzista su "+Symbol()+" a TF

Error modifying order!, error#130

double IniTrailingStop =MarketInfo( Symbol (), MODE_STOPLEVEL ); void stopPercentuale( double InitialTrailingStop , double trailing_stop_percentage) { double PointValue; for ( int i = 0 ; i < OrdersTotal (); i++) { OrderSelect (i, SELECT_BY_POS, MODE_TRADES);

print the average values to the "x" candle and the "x-1"

Hi Guys, this function should print the average values to the "x" candle and the "x-1" candle but it prints the same value please help me fix it I do not understand where I am going wrong? for ( int i= 0 ; i<limit; i++) { //---- ma_shift set to 0 because SetIndexShift called abowe

Break of moving avarages

Hello guys in the following code " for ( int i= 0 ; i<limit; i++) { //---- ma_shift set to 0 because SetIndexShift called abowe MediaVeloceBuffer[i]= iMA ( NULL , 0 ,MediaVeloceTf5Period, 0 , MODE_EMA , 0 ,i);

background of what I write

Hello guys, I made a square with a white background with the following code // function int CreateBackground ( string backName, string text, int Bfontsize, int LabelCorner, int xB, int yB) { if ( ObjectFind (backName) == - 1 ){ ObjectCreate (backName, OBJ_LABEL , 0 , 0 , 0 , 0 , 0

price allert

Hi guys, this allert sounds when the price exceeds or is on an exact price level set by the user when the user is charging, but sometimes it works and sometimes no, is there someone that can help me fix it ? extern double SuonoQuandoPrezzoSupera = 0 ; extern string Commento_Up; extern double

Fractal indicator

Hello Guys, this is the list of Fractals free indicator: //+------------------------------------------------------------------+ //| Fractals.mq4 | //| Copyright © 2005, MetaQuotes Software Corp. | //|