|
Market Profile indicator |
burton
|
Post subject: Market Profile indicator |
Post rating: 0
|
Posted: Tue 04 Mar, 2014, 01:51
|
|
User rating: 0
Joined: Wed 07 Mar, 2012, 06:02 Posts: 58 Location: SwitzerlandSwitzerland
|
Hello,
When compiling the attached indicator, it compiles correctly, but when applying to the chart I get the following error messages when switching timeframes:
Error in indicator: java.util.ConcurrentModificationException @ jforex.converted.MarketProfile.deinit(MarketProfile.java:141)
130 CurPos=CurPos+onetick; 131 }//while 132 ObjectCreate("mediana"+TimeToStr(Time[i],TIME_DATE), OBJ_RECTANGLE, 0, Time[i], Mediana,Time[i+10],Mediana+onetick); 133 ObjectSet("mediana"+TimeToStr(Time[i],TIME_DATE), OBJPROP_STYLE, STYLE_SOLID); 134 ObjectSet("mediana"+TimeToStr(Time[i],TIME_DATE), OBJPROP_COLOR,White); 135 BACK=i+1; 136 }//if 137 i++; 138 if (i>=Bars) return(0); 139}//while 140}//for 141 //---- 142 return(0); 143 } 144//+------------------------------------------------------------------+
Attachments: |
Market Profile.mq4 [4.65 KiB]
Downloaded 160 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
 |
API Support
|
Post subject: Re: Market Profile indicator |
Post rating: 0
|
Posted: Tue 11 Mar, 2014, 07:52
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
This issue has been fixed and will be available in the next JForex platform release.
|
|
|
|
 |
burton
|
Post subject: Re: Market Profile indicator |
Post rating: 0
|
Posted: Tue 11 Mar, 2014, 13:18
|
|
User rating: 0
Joined: Wed 07 Mar, 2012, 06:02 Posts: 58 Location: SwitzerlandSwitzerland
|
Great, thanks Ducascopy! Eager to wait for next update.
|
|
|
|
 |
f451
|
Post subject: Re: Market Profile indicator |
Post rating: 0
|
Posted: Mon 02 Jun, 2014, 04:28
|
|
User rating: 8
Joined: Tue 25 Oct, 2011, 23:02 Posts: 74 Location: Australia, Melbourne
|
burton wrote: Hello,
When compiling the attached indicator, it compiles correctly, but when applying to the chart I get the following error messages when switching timeframes:
Error in indicator: java.util.ConcurrentModificationException @ jforex.converted.MarketProfile.deinit(MarketProfile.java:141)
130 CurPos=CurPos+onetick; 131 }//while 132 ObjectCreate("mediana"+TimeToStr(Time[i],TIME_DATE), OBJ_RECTANGLE, 0, Time[i], Mediana,Time[i+10],Mediana+onetick); 133 ObjectSet("mediana"+TimeToStr(Time[i],TIME_DATE), OBJPROP_STYLE, STYLE_SOLID); 134 ObjectSet("mediana"+TimeToStr(Time[i],TIME_DATE), OBJPROP_COLOR,White); 135 BACK=i+1; 136 }//if 137 i++; 138 if (i>=Bars) return(0); 139}//while 140}//for 141 //---- 142 return(0); 143 } 144//+------------------------------------------------------------------+ Have you got the converted Mq4 JForex IIndicator code? Could you post that? Perhaps it can be cleaned up to a proper JForex Indicator....
|
|
|
|
 |
burton
|
Post subject: Re: Market Profile indicator |
Post rating: 0
|
Posted: Sun 16 Nov, 2014, 13:28
|
|
User rating: 0
Joined: Wed 07 Mar, 2012, 06:02 Posts: 58 Location: SwitzerlandSwitzerland
|
f451 wrote: Have you got the converted Mq4 JForex Indicator code? Could you post that? Perhaps it can be cleaned up to a proper JForex Indicator.... Hi f451 - yes I posted the MT4 file in my first inquiry, could you please clean it up and post it here? Thanks! see also: viewtopic.php?f=128&t=48802
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|