Samuel Beer
Samuel Beer
  • Information
6+ years
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Hi there!

I'm a trader and programmer from switzerland. I enjoy writing quality code for the curious and ambitious customer. Hit me up with some well thought out ideas and I'll see what I can do. In the meantime, I'm realizing my own ideas, because there's never a lack thereof :X
Samuel Beer
Published code BarNumbers
Displays the number of each bar - both, relative to the most current bar and in absolute terms from the beginning of the chart.
Samuel Beer
Added topic Find bar of the same time one day ago
Hi guys, As described in the title, I want to find the bar of one day ago at exactly the same time. So e.g. the time now is 20:23 on the 06.10.2017 which is covered by the 20:20 M5-bar. I want to find the M5 that covers yesterday's (05.10.2017)
Samuel Beer
Added topic Load bars in higher timeframe
Hi guys, So i wanted to use iBarShift to find out in a higher timeframe, which bar covers a specific time. But it does return -1 sometimes (i put false as the exact parameter ). My suspicion is that it does that because the bars are not yet
Samuel Beer
Added topic How do I get the time that is most on the right of the chart?
Hi, How can I find out (programmaticaly) what the time is on the rightmost (not yet initialized) bar on the chart? For clarification: What is the time where the arrow is pointing? It's in the future obviously, but how much? I can't just add some time
Samuel Beer
Added topic Why does MT4 show bid prices instead of close?
Hi guys, The question is in the header. I thought the price was the last price where buyers and sellers met, more specifically, where bid and ask prices crossed over and a turnover of "shares" happened. Now in MT4 apparently those are the Bid prices
Samuel Beer
Added topic How do I lock pixel spacing between two textboxes?
Hi guys, This is a screenshot of the Monster Harmonic Indicator by  Paul Geirnaerdt. I have 2 questions: 1) How can i fit two textboxes beneath a candle low so they don't squeeze together when i squeeze the chart together? This happens because
Samuel Beer
Added topic Place description text in the middle of line
Hi guys, So when I activate "show object description " in the chart settings, my lines will display a little text on top with the given desciption. Can i somehow change the alignement of these descriptions so that the text appears centered between
Samuel Beer
Added topic Switching timeframes recalculates whole indicator even with IndicatorCounted()
Hi guys, So yeah, the question is in the title. I have an indicator which uses IndicatorCounted() to find out how many candles have not yet been calculated since "last time", but when i switch back and forth between two timeframes, IndicatorCounted()
Samuel Beer
Added topic Detect object under mouse
Hi again Is there a way to get the object(s) below the mouse cursor (or at a certain position x/y) ? I can't seem to find a function ... :/ Thanks! :)
Samuel Beer
Added topic How to not connect buffer lines between specific bars?
‌Hi guys ‌ So i have a Pivot Point indicator, and as you can see it always connects yesterdays PP / Support / Resistance levels with the ones of today with those steep lines: ‌ ‌I was wondering wheter it was possible to avoid this behavior and just
Samuel Beer
Added topic Distribute slow indicator calculation over mutliple frames
Hi guys, ‌ I‌ have an indicator which takes quite a long time to calculate. This is a problem when I try to switch quickly between periods as the chart is stuck as long as the calculation is ongoing. Now i want to spread out this slow calculation
Samuel Beer
Added topic Really odd: EA function gets called before OnInit()...
So this is odd. I have a function that is called before even OnInit() in my EA script. Of course this leads to problems...   Take a look. This is my initialize function: [...] double pips; double BottomLevelPrice; int LongTicketsStartLevel; int
Samuel Beer
Added topic Attach CCanvas object to chart object and adapt to scaling
Hi guys,   So here's what i want to do: I want to create an indicator which shows the bars of the higher timeframe in the current timeframe . those higher timeframe bars should be painted behind the current timeframe bars and they should be
Samuel Beer
Added topic Account currency to quote or base currency
Hi   I want to create an indicator displaying risk and reward levels for a currency pair. However, I don't want to settle my risk in pips but in effective account currency , let's say EUR 5.-, and then translate it into Pips with an also
Samuel Beer
Added topic How do I read the order size from one click trading panel?
Is there a way to read the order size from the market order window?   Here's an image:      I want to figure out the currently entered Lot Size parameter (encircled in blue) for the next market order programmatically , so i can
Samuel Beer
Added topic Can't use tools & periods - buttons greyed out
Hi guys   As I started Meta Trader 4 this morning, I'm suddenly not able to select periods and tools for a chart. These buttons are all greyed out.   This picture explains what I mean:     I also noticed that I have no connection
Samuel Beer
Added topic Problem with period change buttons getting stuck
Hi guys,   So i have this problem: The periods change buttons are getting stuck as soon as i click on them. I have to deselect them manually just like you have to deselect auto scrolling.     Quiz: Which time frame am I looking at? I
Samuel Beer
Added topic Locate price at mouse position
Hi guys   I want to code an alarm which i can drag from the navigator menu and drop it right on the chart. This "indicator" should place a horizontal line at exactly the price where i dropped it on the chart, giving me an alarm when price rises
Samuel Beer
Added topic H/Confusion with some symbols
Hi guys,   The following are some noob questions I guess, but surprisingly I can't find the answer anywhere on the internet x_X   So, what do those extensions in a symbol mean? I see BRENT next to BRENTG7. I see BUNDZ6 and BUND H7 usw
Samuel Beer
Added topic Take profit event handling function?
Hey Guys   Is there a function for an EA that gets triggered when a profit target is hit for a certain position? I can't find one :(   Thanks for  helping me out :)
12