GithubHelp home page GithubHelp logo

Comments (6)

EarnForex avatar EarnForex commented on August 17, 2024

Hello!

Are you suggesting to add a file logging function to the script or are you suggesting adding an option to disable the usual logging messages of the script?

from positionsizer.

walgram avatar walgram commented on August 17, 2024

Hello.
I think it is better to attach my code here. You can find my changes easily by searching for "update ewal" .
I want to make a ChartScreenshot where Commentary is part of the filename. The dialog from PositionSizeCalculator should not be visible in the screenshot.
So i see two possibilities:
Hide the dialog before ChartScreenshot per code in the script or send the filename from the script to the indicator.

PositionSizeCalculator_ewal.zip

from positionsizer.

EarnForex avatar EarnForex commented on August 17, 2024

"The dialog" - you mean the entire panel? It would probably be easier to do from the script. Just cycle through all the chart objects with the prefix (m_name) and set OBJPROP_TIMEFRAMES to EMPTY. After you are done and call a similar cycle setting it back to OBJ_ALL_PERIODS.

from positionsizer.

walgram avatar walgram commented on August 17, 2024

Hello!
Thx for your help.
For Example: ObjectSetInteger(0,"m_EdtPosSize",OBJPROP_TIMEFRAMES,EMPTY); is correct?
And the entire panel, will it disappear if all chart objects are set to EMPTY?

from positionsizer.

EarnForex avatar EarnForex commented on August 17, 2024

"m_EdtPosSize" won't work. You should use the m_name variable that is used by the script to store the name prefix for all the panel's chart objects. Other than that, it is correct.

from positionsizer.

walgram avatar walgram commented on August 17, 2024

thx for your help

from positionsizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.