pavelion / Publications
Forum
Custom Timeframe
Is there any better way to add custom timeframe rather than creating an indicator for that? The problem with this approach is to modify existing indicators to work/get data of the first indicator
Export entire history of a symbol to use on an old build for backtesting
I want to export all the XAUUSD history to use on a pretty old build. I guess the build num is 3310. I know I should open the symbols window, Create Custom Symbol , then copy from xauusd. What about the entire history? in the bar tab, I request M1 history but it is up to 2024.08.16 not from 2008
Is calculation done at compile time or run time?
I have defined a few macros for constant values. Some macros are dependent to another for example #define x 14 #define y x+ 7 #define z y* 5 So I wonder these values are going to be calculated at the run time? or they are going to be calculated when compiling and the final values will be put to the
what's the cons of this strategy?
Well you open two positions at the same time and price. So you close the loss/negative one as soon as you realized the trend. I can only think of swap if it took too long to find the trend
anyway to set obj prop at creation?
Is there anyway to create an obj with custom prop, rather than using objectsetxxx function
Disable Showing object name
How to disable showing object name while hovering mouse over objs
make it faster
created an indicator to move the obj by chartevent mouse move. problem is that object is moving asynchronously and lagging. how to make it faster? #property strict #property indicator_chart_window #property indicator_buffers 0 #property indicator_plots 0 double tmpPrice; datetime tmpTime=- 1 ; int
automatically snap to OHLC
when I move an object near a candle, it automatically snaps to open/high/low/close of the candle. How to disable it and freely move objs
ChartSaveTemplate Error 4112
I have a script letting user to customise the chart properties. I use ChartSetSymbolPeriod to change the chart timeframe. my last input in the script is to save the template. problem is ChartSetSymbolPeriod causing the script to be terminated and then I recieve error in applying template. How to fix
is mt4 still getting updates?
I have a few questions. 1. what's the last build version of mt4? 2. I used CHART_CONTEX_MENU in my code and compiled it without any error. But as I execute it on the chart, I recieved an error that CHART_CONTEX_MENU is not defined. I checked the refrence and there is no chart_contex_menu defined. so